-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.16 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": "ng-alain-codelyzer",
"version": "0.0.1",
"description": "Linting for ng-alain",
"main": "index.js",
"author": "cipchk",
"homepage": "https://ng-alain.com/docs/styleguide/",
"license": "MIT",
"scripts": {
"lint-staged": "lint-staged",
"format:base": "prettier --config ./.prettierrc \"src/**/*.ts\" \"test/**/*.ts\"",
"format:check": "npm run format:base -- --list-different",
"format:fix": "npm run format:base -- --write",
"lint": "tslint -p . -c tslint.json \"src/**/*.ts\" \"test/**/*.ts\"",
"lint:fix": "npm run lint -- --fix",
"test": "rimraf dist && tsc && rimraf dist/test/test.js && mocha dist/test --recursive",
"build": "rimraf dist && tsc && npm run format:check && npm run lint && npm t",
"copy": "ncp package.json dist/package.json && ncp README.md dist/README.md && rimraf dist/test",
"copy:debug": "ncp dist ../ng-alain-themes/node_modules/ng-alain-codelyzer",
"release": "rimraf dist && tsc -p ./tsconfig-release.json && npm run copy",
"release:debug": "rimraf dist && tsc -p ./tsconfig-release.json && npm run copy && npm run copy:debug",
"publish": "cd dist && npm publish --access public",
"tsc": "tsc",
"watch": "tsc --w"
},
"keywords": [
"delon",
"ng-alain",
"ng-alain codelyzer",
"codelyzer",
"style guide",
"styleguide",
"lint",
"tslint"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ng-alain/codelyzer.git"
},
"bugs": {
"url": "https://github.com/ng-alain/codelyzer/issues"
},
"peerDependencies": {
},
"dependencies": {
},
"devDependencies": {
"@types/mocha": "^5.2.5",
"@types/node": "~8.9.4",
"@types/chai": "^4.1.7",
"@types/sprintf-js": "^1.1.1",
"chai": "^4.2.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.0",
"mocha": "^5.2.0",
"prettier": "^1.16.0",
"rimraf": "^2.6.3",
"ncp": "^2.0.0",
"ts-node": "~7.0.0",
"tslint": "^5.12.1",
"typescript": "~3.2.2",
"jasmine": "^3.3.1"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
},
"lint-staged": {
"*.ts": [
"npm run lint:fix",
"git add"
]
}
}