-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f68ecd8
commit 371e94b
Showing
5 changed files
with
69 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,14 +20,14 @@ | |
"scripts": { | ||
"prepublish": "npm run make", | ||
"preversion": "bash scripts/update-authors.sh && git add AUTHORS && git commit -m \"update AUTHORS\" || true", | ||
"make-bemhtml": "browserify --standalone bemhtml lib/bemhtml/index.js -o lib/bemhtml/bundle.js", | ||
"make-bemtree": "browserify --standalone bemtree lib/bemtree/index.js -o lib/bemtree/bundle.js", | ||
"make": "npm run make-bemhtml && npm run make-bemtree", | ||
"make": "npm run make:bemhtml && npm run make:bemtree", | ||
"make:bemhtml": "browserify --standalone bemhtml lib/bemhtml/index.js -o lib/bemhtml/bundle.js --debug", | ||
"make:bemtree": "browserify --standalone bemtree lib/bemtree/index.js -o lib/bemtree/bundle.js --debug", | ||
"clean": "rm -f lib/bem{html,tree}/bundle.js", | ||
"lint": "jscs `ls lib/*.js lib/**/*.js test/*.js | grep -v bundle` && jshint `ls lib/*.js lib/**/*.js test/*.js | grep -v bundle`", | ||
"mocha-test": "mocha --reporter=spec test/*-test.js", | ||
"test": "npm run make && npm run lint && npm run coverage", | ||
"coverage": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- -u bdd -R spec --recursive test/*-test.js" | ||
"test": "npm run make && npm run test:lint && npm run test:coverage", | ||
"test:lint": "jscs `ls lib/*.js lib/**/*.js test/*.js | grep -v bundle` && jshint `ls lib/*.js lib/**/*.js test/*.js | grep -v bundle`", | ||
"test:mocha": "mocha --reporter=spec test/*-test.js", | ||
"test:coverage": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- -u bdd -R spec test/*-test.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
|
@@ -46,11 +46,11 @@ | |
}, | ||
"devDependencies": { | ||
"browserify": "^13.0.1", | ||
"istanbul": "0.4.4", | ||
"chai": "3.5.0", | ||
"jscs": "^3.0.3", | ||
"jshint": "^2.7.0", | ||
"mocha": "2.5.3", | ||
"chai": "3.5.0", | ||
"istanbul": "0.4.x" | ||
"mocha": "2.5.3" | ||
}, | ||
"author": "Fedor Indutny <[email protected]>", | ||
"maintainers": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters