Skip to content

Commit 5f9e87d

Browse files
Updated scripts
1 parent a4d6013 commit 5f9e87d

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

karma.conf.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = function(config) {
99

1010
files: [
1111
// ono
12-
'dist/ono.test.js',
12+
'dist/ono.min.js',
1313

1414
// Unit tests
1515
'tests/helper.js',
@@ -22,6 +22,7 @@ module.exports = function(config) {
2222
config.set(baseConfig);
2323
};
2424

25+
2526
/**
2627
* Configures the browsers for the current platform
2728
*/

package.json

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,11 @@
2222
"scripts": {
2323
"build": "npm run lint && npm run browserify",
2424
"lint": "jshint . --verbose && jscs . --verbose",
25-
"browserify": "simplifyify lib/index.js --outfile dist/ono.js --standalone ono --debug --minify --test",
26-
"watch": "npm run browserify -- --watch",
25+
"browserify": "simplifyify lib/index.js --outfile dist/ono.js --standalone ono --debug --minify",
2726
"test": "istanbul cover _mocha -- --bail --recursive tests && npm run karma",
2827
"mocha": "mocha --bail --recursive tests",
2928
"karma": "karma start --single-run",
30-
"upgrade": "npm-check-updates -u && npm update",
29+
"upgrade": "ncu --upgradeAll && npm update",
3130
"bump": "bump --prompt --tag --push --all",
3231
"release": "npm run upgrade && npm run build && npm test && npm run bump && npm publish"
3332
},
@@ -36,11 +35,7 @@
3635
"url": "https://github.com/bigstickcarpet/ono.git"
3736
},
3837
"devDependencies": {
39-
"chai": "^3.2.0",
40-
"coveralls": "^2.11.3",
41-
"istanbul": "^0.3.17",
42-
"jscs": "^2.0.0",
43-
"jshint": "^2.8.0",
38+
"simplifyify": "^1.1.1",
4439
"karma": "^0.13.3",
4540
"karma-chai": "^0.1.0",
4641
"karma-chrome-launcher": "^0.2.0",
@@ -52,14 +47,18 @@
5247
"karma-mocha-reporter": "^1.0.3",
5348
"karma-phantomjs-launcher": "^0.2.0",
5449
"karma-safari-launcher": "^0.1.1",
55-
"karma-sauce-launcher": "^0.2.14",
5650
"karma-sinon": "^1.0.4",
51+
"istanbul": "^0.3.17",
52+
"coveralls": "^2.11.3",
5753
"mocha": "^2.2.5",
58-
"npm-check-updates": "^1.5.1",
59-
"simplifyify": "^1.1.1",
54+
"chai": "^3.2.0",
6055
"sinon": "^1.15.4",
61-
"useragent-lite": "0.0.2",
62-
"version-bump-prompt": "^1.4.2"
56+
"jscs": "^2.0.0",
57+
"jshint": "^2.8.0",
58+
"npm-check-updates": "^2.0.0",
59+
"version-bump-prompt": "^1.4.2",
60+
"karma-sauce-launcher": "^0.2.14",
61+
"useragent-lite": "0.0.2"
6362
},
6463
"dependencies": {}
65-
}
64+
}

0 commit comments

Comments
 (0)