-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
87 lines (87 loc) · 2.92 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "scuri",
"version": "1.4.0",
"description": "A spec generator schematic - Spec Create Update Read (class - component, service, directive and dependencies) Incorporate (them in the result)",
"scripts": {
"s": "schematics",
"jest": "jest",
"start": "npm run build",
"build": "tsc -p tsconfig.json; cp ./collection.json ./dist; cp --parents ./src/spec/schema.json ./dist; cp --parents ./src/autospy/schema.json ./dist; cp --parents ./src/update-custom/schema.json ./dist; cp --parents -r ./src/autospy/files ./dist; cp -r --parents ./src/spec/files ./dist",
"test": "jest --runInBand",
"test.watch": "jest --runInBand --watch",
"build.run": "npm run build && npm run s .:spec -- --name ./example/example.component.ts --verbose --force",
"build.run.inspect": "npm run build && node --inspect-brk ./node_modules/@angular-devkit/schematics-cli/bin/schematics.js .:spec -- --name ./example/example.component.ts --verbose --debug false --force",
"start.watch": "chokidar \"src/**/*.ts\" -c \"npm start\" --initial --ignore \"src/**/*.d.ts\"",
"build.run.watch": "chokidar \"src/**/*.ts\" --initial --ignore \"src/**/*.d.ts\" -c 'rm -rf ./dist; npm run build.run' ",
"build.run.watch.autospy": "chokidar \"src/**/*.ts\" --initial --ignore \"src/**/*.d.ts\" -c 'rm -rf ./dist&& npm run build && npm run s ./dist/collection.json:autospy --debug=false' ",
"tslint": "tslint",
"lint": "npx tslint -p ./tslint.json --fix",
"pretty-quick": "pretty-quick",
"deprecated_prepublish": "npm run build",
"dependencies": "npx husky install"
},
"keywords": [
"test",
"schematics",
"spec",
"testing",
"generate",
"specs",
"angular",
"custom template spec",
""
],
"author": "[email protected]",
"license": "MIT",
"schematics": "./dist/collection.json",
"files": [
"dist/*.*",
"dist/**/*.*",
"./dist/**/**/*.*"
],
"repository": "https://github.com/gparlakov/scuri",
"dependencies": {
"@angular-devkit/core": "^12.0.4",
"@angular-devkit/schematics": "^12.0.4",
"cosmiconfig": "^8.1.3",
"rxjs": "^6.6.7"
},
"devDependencies": {
"@angular-devkit/schematics-cli": "^14.2.3",
"@types/jest": "^26.0.23",
"@types/node": "^12.20.15",
"all-contributors-cli": "^6.20.0",
"chokidar-cli": "^2.1.0",
"husky": "^6.0.0",
"jest": "^27.0.4",
"jest-config": "^27.0.4",
"jsonc-parser": "^3.0.0",
"lint-staged": "^13.0.3",
"prettier": "^2.3.1",
"pretty-quick": "^3.1.0",
"ts-jest": "^27.0.3",
"tslint": "^6.1.3",
"typescript": "^4.7.4"
},
"peerDependencies": {
"typescript": ">=4"
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"tabWidth": 4,
"overrides": [
{
"files": "*.json",
"options": {
"tabWidth": 2
}
}
]
},
"husky": {
"hooks": {
"pre-commit": "npm run pretty-quick && npm run lint"
}
}
}