Skip to content
This repository was archived by the owner on Dec 19, 2017. It is now read-only.

Commit e03c745

Browse files
committed
Remove pre-commit hook
1 parent 4054865 commit e03c745

File tree

1 file changed

+7
-19
lines changed

1 file changed

+7
-19
lines changed

package.json

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,21 @@
77
"repository": "Profiscience/ko-component-router",
88
"main": "dist/ko-component-router.js",
99
"scripts": {
10-
"build": "concurrently --kill-others -p name --names \"DIST,LIB\" -c blue,cyan \"npm run build:dist\" \"npm run build:lib\"",
10+
"build": "concurrently --kill-others -p name --names \"DIST,LIB\" -c blue,cyan,magenta \"npm run build:dist\" \"npm run build:lib\" \"npm run build:example\"",
1111
"build:dist": "webpack",
1212
"build:lib": "babel src -d lib",
13-
"watch": "concurrently --kill-others -p name --names \"DIST,LIB\" -c blue,cyan \"npm run watch:dist\" \"npm run watch:lib\"",
13+
"build:example": "webpack -p --config webpack.config.example.js",
14+
"watch": "concurrently --kill-others -p name --names \"DIST,LIB\" -c blue,cyan,magenta \"npm run watch:dist\" \"npm run watch:lib\" \"npm run watch:example\"",
1415
"watch:dist": "webpack --watch",
1516
"watch:lib": "babel src -wd lib",
17+
"watch:example": "webpack --watch --config webpack.config.example.js",
18+
"serve:example": "webpack-dev-server --config webpack.config.example.js",
1619
"lint": "eslint --max-warnings=0 *.js",
1720
"format": "eslint --fix --max-warnings=0 *.js",
1821
"stage": "git add dist example/dist lib",
19-
"test": "karma start",
20-
"test:watch": "karma start karma.watch.js",
21-
"example:build": "webpack -p --config webpack.config.example.js",
22-
"example:watch": "webpack --watch --config webpack.config.example.js",
23-
"example:serve": "webpack-dev-server --config webpack.config.example.js"
22+
"test": "npm run lint; karma start",
23+
"test:watch": "karma start karma.watch.js"
2424
},
25-
"precommit": [
26-
[
27-
"lint",
28-
"test"
29-
],
30-
[
31-
"build",
32-
"example:build"
33-
],
34-
"stage"
35-
],
3625
"keywords": [
3726
"knockoutjs",
3827
"knockout",
@@ -78,7 +67,6 @@
7867
"karma-webpack": "^1.7.0",
7968
"knockout": "^3.3.0",
8069
"ko-component-tester": "^3.1.0",
81-
"pre-commit": "caseyWebb/pre-commit",
8270
"prismjs": "^1.3.0",
8371
"raf": "^3.2.0",
8472
"style-loader": "^0.13.0",

0 commit comments

Comments
 (0)