-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
75 lines (75 loc) · 2.41 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
{
"name": "@schuchard/prettier",
"version": "5.1.0",
"description": "An Angular schematic for adding prettier",
"scripts": {
"build": "tsc -p tsconfig.json -w",
"build:once": "tsc -p tsconfig.json",
"test": "yarn run-s build:clean:launch test:sandbox clean",
"test:schematic": "npm run build && jasmine src/**/*_spec.js",
"test:sandbox": "cd sandbox && run-s test build",
"clean": "git checkout HEAD -- sandbox && git clean -f -d sandbox",
"launch:schematic": "yarn link:sandbox && cd sandbox && yarn && yarn ng g @schuchard/prettier:add",
"launch:schematic:noPrompts": "yarn link:sandbox && cd sandbox && yarn && yarn ng g @schuchard/prettier:add --printWidth=100 --tabWidth=2 --semi=true --singleQuote=true --trailingComma=es5 --lintStaged=true --formatAllAngularFiles=true",
"build:clean:launch": "run-s build:once clean launch:schematic:noPrompts && cd sandbox && yarn prettier",
"dev": "yarn build:clean:launch",
"link:sandbox": "yarn link && cd sandbox && yarn link \"@schuchard/prettier\"",
"update:sandbox": "cd sandbox && ng update --all",
"cm": "git-cz",
"release": "yarn build:once && yarn np"
},
"keywords": [
"prettier",
"schematics",
"angular"
],
"main": "src/prettier/index.js",
"author": "Kevin Schuchard <[email protected]>",
"bugs": "https://github.com/schuchard/prettier-schematic/issues",
"license": "MIT",
"schematics": "./src/collection.json",
"ng-add": {
"save": "devDependencies"
},
"engines": {
"node": ">=8.11.0"
},
"dependencies": {
"@angular-devkit/core": "^11.0.2",
"@angular-devkit/schematics": "^11.0.2",
"@types/node": "^14.14.10",
"husky": "^4.3.0",
"lint-staged": "^10.5.2",
"prettier": "^2.2.1",
"rxjs": "^6.6.3",
"typescript": "^4.1.2"
},
"devDependencies": {
"@types/jasmine": "^3.6.2",
"commitizen": "^4.2.2",
"cz-conventional-changelog": "^3.3.0",
"jasmine": "^3.6.3",
"np": "^7.0.0",
"npm-run-all": "^4.1.5"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"repository": {
"type": "git",
"url": "https://github.com/schuchard/prettier-schematic.git"
},
"publishConfig": {
"access": "public"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css,scss,less,md,ts,html,component.html}": "prettier --write"
}
}