This repository has been archived by the owner on Jan 3, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 2.73 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
88
89
{
"name": "cybernaut",
"private": true,
"scripts": {
"clean": "./scripts/clean.sh",
"precommit": "lint-staged",
"commit": "commit",
"commitmsg": "commitlint --edit",
"precompile": "lerna exec --ignore @cybernaut/examples -- rm -rf lib/",
"compile": "lerna exec --ignore @cybernaut/examples -- tsc --project .",
"postcompile": "lerna exec --ignore @cybernaut/examples -- rm -rf lib/tests/",
"examples": "lerna exec --scope @cybernaut/examples -- jest --no-cache",
"format": "./scripts/prettier.sh --write",
"format:test": "./scripts/prettier.sh --list-different",
"postinstall": "./scripts/copy.sh && lerna bootstrap",
"lint": "node scripts/markdownlint.js && lerna exec --ignore @cybernaut/examples -- ../../scripts/lerna/tslint.sh",
"release": "./scripts/release.sh",
"pretest": "npm run compile",
"test": "npm run format:test && npm run lint && jest --no-cache && npm run examples",
"upgrade": "ncu -ua && lerna exec -- ncu -ua",
"watch": "run-p watch:*",
"watch:compile": "lerna exec --ignore @cybernaut/examples --parallel --concurrency 99 -- tsc --project . --watch",
"watch:test": "jest --watch"
},
"devDependencies": {
"@commitlint/cli": "^3.2.0",
"@commitlint/config-angular": "^3.1.1",
"@commitlint/config-lerna-scopes": "^3.1.1",
"@commitlint/prompt-cli": "^3.2.0",
"@types/jest": "^20.0.8",
"@types/node": "^8.0.28",
"coveralls": "^2.13.1",
"custom-tslint-formatters": "^2.1.1",
"git-latest-semver-tag": "^1.0.2",
"globby": "^6.1.0",
"husky": "^0.14.3",
"jest": "^21.1.0",
"lerna": "^2.2.0",
"lint-staged": "^4.2.1",
"markdownlint": "^0.6.1",
"npm-check-updates": "^2.13.0",
"npm-run-all": "^4.1.1",
"prettier": "^1.7.0",
"ts-config": "^13.1.0",
"ts-jest": "^21.0.1",
"tslint": "^5.7.0",
"typescript": "^2.5.2"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"**/@cybernaut/*/src/**/*.{ts,tsx}",
"!**/@cybernaut/*/src/**/*.test.{ts,tsx}"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"mapCoverage": true,
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"tsx"
],
"testMatch": [
"**/@cybernaut/*/src/**/*.test.{ts,tsx}"
],
"transform": {
".ts": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"verbose": true
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --single-quote --no-bracket-spacing --parser typescript --write",
"git add"
],
"*.{js,jsx,json}": [
"prettier --single-quote --no-bracket-spacing --write",
"git add"
]
}
}