88 "build" : " nx build" ,
99 "test" : " nx test" ,
1010 "lint" : " nx workspace-lint && nx lint" ,
11+ "prepare" : " husky install" ,
12+ "lint-staged" : " lint-staged" ,
1113 "affected:apps" : " nx affected:apps" ,
1214 "affected:libs" : " nx affected:libs" ,
1315 "affected:build" : " nx affected:build" ,
2628 "publish-dev" : " ts-node tools/scripts/publish-dev" ,
2729 "e2e-registry" : " yarn verdaccio --config ./tools/scripts/local-registry/config.yml --listen 4872" ,
2830 "e2e-tests" : " ts-node -P ./tools/scripts/tsconfig.e2e.json ./tools/scripts/e2e.ts" ,
29- "e2e" : " run-p -r e2e-registry \" e2e-tests {@}\" --"
31+ "e2e" : " run-p -r e2e-registry \" e2e-tests {@}\" --" ,
32+ "semantic-release" : " semantic-release"
3033 },
3134 "private" : false ,
3235 "dependencies" : {
3841 "xmldoc" : " ^1.1.2"
3942 },
4043 "devDependencies" : {
44+ "@commitlint/cli" : " ^12.1.1" ,
45+ "@commitlint/config-conventional" : " ^12.1.1" ,
46+ "@commitlint/types" : " ^12.1.1" ,
4147 "@nrwl/cli" : " 12.0.8" ,
4248 "@nrwl/devkit" : " 12.0.8" ,
4349 "@nrwl/eslint-plugin-nx" : " 12.0.8" ,
5662 "dotenv" : " 8.2.0" ,
5763 "eslint" : " 7.22.0" ,
5864 "eslint-config-prettier" : " 8.1.0" ,
65+ "husky" : " ^6.0.0" ,
5966 "jest" : " 26.2.2" ,
67+ "lint-staged" : " ^10.5.4" ,
6068 "prettier" : " 2.2.1" ,
6169 "run-p" : " *" ,
70+ "semantic-release" : " ^17.4.2" ,
6271 "ts-jest" : " 26.4.0" ,
6372 "ts-node" : " ~9.1.1" ,
6473 "tslib" : " ^2.0.0" ,
6574 "typescript" : " 4.1.4" ,
6675 "verdaccio" : " ^5.0.1"
76+ },
77+ "lint-staged" : {
78+ "**/*.{js,ts,md,json}" : [
79+ " prettier --write"
80+ ]
81+ },
82+ "repository" : {
83+ "type" : " git" ,
84+ "url" : " https://github.com/nx-dotnet/nx-dotnet.git"
6785 }
68- }
86+ }
0 commit comments