mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
remove pre-commit hook, add linting to tests
This commit is contained in:
parent
2b4de3a366
commit
9b36f75c54
13
package.json
13
package.json
@ -22,9 +22,8 @@
|
|||||||
"bootstrap": "lerna bootstrap",
|
"bootstrap": "lerna bootstrap",
|
||||||
"prepublish": "npm run bootstrap",
|
"prepublish": "npm run bootstrap",
|
||||||
"lint": "node node_modules/eslint/bin/eslint.js packages --fix --ignore-pattern=node_modules --ext=js,jsx",
|
"lint": "node node_modules/eslint/bin/eslint.js packages --fix --ignore-pattern=node_modules --ext=js,jsx",
|
||||||
"pre-commit": "echo 'no lint check' && exit 0;",
|
"test": "npm run lint && lerna --concurrency=1 exec npm run test",
|
||||||
"test": "lerna --concurrency=1 exec npm run test",
|
"test:ci": "npm run lint && lerna --concurrency=1 exec npm run test:ci",
|
||||||
"test:ci": "lerna --concurrency=1 exec npm run test:ci",
|
|
||||||
"nsp": "lerna exec nsp check",
|
"nsp": "lerna exec nsp check",
|
||||||
"start": "lerna --scope=unleash-server exec npm start",
|
"start": "lerna --scope=unleash-server exec npm start",
|
||||||
"publish": "lerna publish",
|
"publish": "lerna publish",
|
||||||
@ -37,10 +36,6 @@
|
|||||||
"eslint-config-finn": "^1.0.0-alpha.4",
|
"eslint-config-finn": "^1.0.0-alpha.4",
|
||||||
"eslint-plugin-react": "^4.3.0",
|
"eslint-plugin-react": "^4.3.0",
|
||||||
"lerna": "2.0.0-beta.20",
|
"lerna": "2.0.0-beta.20",
|
||||||
"nsp": "^2.3.2",
|
"nsp": "^2.3.2"
|
||||||
"pre-commit": "^1.0.2"
|
}
|
||||||
},
|
|
||||||
"pre-commit": [
|
|
||||||
"pre-commit"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user