|
9 | 9 | "commit": "git-cz",
|
10 | 10 | "checkcommit": "./scripts/commit-lint.js",
|
11 | 11 | "e2e": "./scripts/e2e.sh",
|
12 |
| - "format": "prettier \"./**/*.{ts,js,json,css,md}\" \"!./**/{__name__,__directory__}/**\" --write", |
| 12 | + "format": |
| 13 | + "prettier \"./**/*.{ts,js,json,css,md}\" \"!./**/{__name__,__directory__}/**\" --write", |
13 | 14 | "linknpm": "./scripts/link.sh",
|
14 | 15 | "nx-release": "./scripts/nx-release.js",
|
15 | 16 | "copy": "./scripts/copy.sh",
|
16 | 17 | "test:schematics": "yarn linknpm fast && ./scripts/test_schematics.sh",
|
17 | 18 | "test:nx": "yarn linknpm fast && ./scripts/test_nx.sh",
|
18 |
| - "test": "yarn linknpm fast && ./scripts/test_nx.sh && ./scripts/test_schematics.sh", |
19 |
| - "checkformat": "prettier \"./**/*.{ts,js,json,css,md}\" \"!./**/{__name__,__directory__}/**\" --list-different" |
| 19 | + "test": |
| 20 | + "yarn linknpm fast && ./scripts/test_nx.sh && ./scripts/test_schematics.sh", |
| 21 | + "checkformat": |
| 22 | + "prettier \"./**/*.{ts,js,json,css,md}\" \"!./**/{__name__,__directory__}/**\" --list-different" |
20 | 23 | },
|
21 | 24 | "devDependencies": {
|
22 | 25 | "@angular-devkit/build-angular": "^0.7.2",
|
|
81 | 84 | "author": "Victor Savkin",
|
82 | 85 | "license": "MIT",
|
83 | 86 | "jest": {
|
84 |
| - "modulePathIgnorePatterns": [ |
85 |
| - "tmp", |
86 |
| - "collection/.*/files" |
87 |
| - ] |
| 87 | + "modulePathIgnorePatterns": ["tmp", "collection/.*/files"] |
88 | 88 | },
|
89 | 89 | "husky": {
|
90 | 90 | "hooks": {
|
91 | 91 | "pre-commit": "lint-staged"
|
92 | 92 | }
|
93 | 93 | },
|
94 | 94 | "lint-staged": {
|
95 |
| - "./**/*.{ts,js,json,css,md}": [ |
96 |
| - "prettier --write", |
97 |
| - "git add" |
98 |
| - ] |
| 95 | + "./**/*.{ts,js,json,css,md}": ["prettier --write", "git add"] |
99 | 96 | },
|
100 | 97 | "config": {
|
101 | 98 | "commitizen": {
|
|
0 commit comments