-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 2.54 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
{
"name": "angular-library-starter",
"version": "0.1.0",
"description": "Starter for libraries to be consumed by Angular",
"module": "dist/angular-library-starter.js",
"es2015": "dist/angular-library-starter.es2015.js",
"typings": "dist/angular-library-starter.d.ts",
"repository": "[email protected]:smithad15/angular-library-starter.git",
"author": "Andrew Smith <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=8"
},
"scripts": {
"ci": "npm-run-all lint test:ci",
"prepublishOnly": "npm-run-all lint test build",
"prebuild": "npm run clean",
"build": "npm-run-all build:*",
"build:es5": "npm-run-all clean:build compile:es5 flatten:es5 copy-build",
"build:es2015": "npm-run-all clean:build compile:es2015 flatten:es2015 copy-build",
"clean": "npm-run-all clean:*",
"clean:build": "rimraf build",
"clean:dist": "rimraf dist",
"compile:es5": "ngc -p tsconfig.json",
"compile:es2015": "ngc -p tsconfig.es2015.json",
"flatten:es5": "rollup -c rollup.config.js",
"flatten:es2015": "rollup -c rollup.config.es2015.js",
"copy-build": "cpy \"**/*.*\" \"!**/*.js\" \"../dist\" --cwd=build --parents --no-overwrite",
"prettify": "prettier --single-quote --write --trailing-comma=all \"!(dist|build)/**/*.(ts|js|css|json)\"",
"precommit": "lint-staged",
"lint": "npm-run-all lint:*",
"lint:ts": "tslint -p tsconfig.json",
"lint:prettier": "prettier --single-quote -l --trailing-comma=all \"!(dist|build)/**/*.(ts|js|css|json)\"",
"test": "jest --coverage",
"test:ci": "jest --coverage --ci --runInBand",
"test:watch": "jest --watch"
},
"peerDependencies": {
"@angular/core": "^4.3.1",
"rxjs": "^5.4.2",
"zone.js": "^0.8.14"
},
"devDependencies": {
"@angular/common": "4.3.6",
"@angular/compiler": "4.3.6",
"@angular/compiler-cli": "4.3.6",
"@angular/core": "4.3.6",
"@angular/platform-browser": "4.3.6",
"@angular/platform-browser-dynamic": "4.3.6",
"@types/jest": "^20.0.8",
"codelyzer": "^3.1.2",
"cpy-cli": "^1.0.1",
"husky": "^0.14.3",
"jest": "^20.0.4",
"jest-junit": "^3.0.0",
"jest-zone-patch": "^0.0.7",
"lint-staged": "^4.0.4",
"npm-run-all": "^4.0.2",
"prettier": "^1.5.3",
"rollup": "^0.45.2",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-node-resolve": "^3.0.0",
"rxjs": "^5.4.2",
"ts-jest": "^20.0.14",
"tslint": "^5.5.0",
"typescript": "^2.4.2",
"zone.js": "^0.8.14"
},
"lint-staged": {
"*.+(js|ts|css|json)": ["prettify", "git add"]
}
}