Skip to content

Commit

Permalink
replace coffeescript by plain js
Browse files Browse the repository at this point in the history
  • Loading branch information
smhg committed Dec 8, 2018
1 parent 667de51 commit 7d848a6
Show file tree
Hide file tree
Showing 44 changed files with 7,120 additions and 5,391 deletions.
10 changes: 10 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "usage"
}
]
]
}
6 changes: 6 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "standard",
"rules": {
"semi": ["error", "always"]
}
}
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
.DS_Store
lib/*.js
lib/*/*.js
node_modules/
*.tgz
npm-debug.log
3 changes: 0 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/lib-cov/
/src/
/test/
/bower.json
/Rakefile
/Gruntfile.js
47 changes: 0 additions & 47 deletions Gruntfile.js

This file was deleted.

17 changes: 6 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,39 +187,34 @@ Hacking on LiveReload.js
Requirements:

* Node.js with npm
* Grunt (`npm install grunt-cli`)

To install additional prerequisites:

npm install

To build:

grunt build
npm run build

To run tests:

grunt
npm test

Manual testing: open files in `test/html/*` in various browsers, make some changes and make sure they are applied.

Testing the Browserify usage scenario: `grunt browserify:test`, then perform manual testing of `test/html/browserified/`.
Testing the Browserify usage scenario: `npm run test-manual`, then perform manual testing of `test/html/browserified/`.


Releasing a new version
-----------------------

1. Update the version number in `package.json`.

1. Run `rake version` to update the version numbers in all other files, using the one from `package.json`.

1. Run `grunt`.
1. Run `npm version` with the applicable identifier (`major`/`minor`/`patch`/...).

1. Do some manual testing.

1. Tag the version in Git: `rake tag` then `git push --tags`.
1. Create a release on GitHub.

1. `npm publish`
1. Run `npm publish`.


License
Expand Down
51 changes: 0 additions & 51 deletions Rakefile

This file was deleted.

3 changes: 0 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
],
"license": "MIT",
"ignore": [
"Rakefile",
"lib",
"lib-cov",
"src",
"test",
"**/.*",
Expand Down
Loading

0 comments on commit 7d848a6

Please sign in to comment.