/
package.json
74 lines (74 loc) · 2.09 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
{
"name": "loopback-next",
"repository": {
"type": "git",
"url": "https://github.com/strongloop/loopback-next.git"
},
"version": "4.0.0-alpha.1",
"engines": {
"node": ">=6"
},
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^3.2.0",
"@commitlint/config-angular": "^3.1.1",
"@commitlint/config-lerna-scopes": "^3.1.1",
"@types/mocha": "^2.2.42",
"@types/node": "^8.0.27",
"@types/request": "^2.0.3",
"@types/request-promise": "^4.1.37",
"coveralls": "^2.13.1",
"cz-conventional-changelog": "^2.0.0",
"lerna": "^2.1.2",
"mocha": "^3.4.0",
"nyc": "^11.2.1",
"prettier": "^1.7.3",
"request": "^2.79.0",
"request-promise": "^4.1.1",
"strong-docs": "^1.4.0",
"ts-node": "^3.3.0",
"tslint": "^5.7.0",
"typescript": "^2.5.2"
},
"scripts": {
"bootstrap": "npm i && lerna bootstrap",
"coverage:ci": "nyc report --reporter=text-lcov | coveralls",
"precoverage": "npm test",
"coverage": "open coverage/index.html",
"lint": "npm run prettier:check && npm run tslint",
"lint:fix": "npm run prettier:fix && npm run tslint:fix",
"tslint": "tslint -c tslint.full.json --project tsconfig.json --type-check",
"tslint:fix": "npm run tslint -- --fix",
"prettier:cli": "prettier \"**/*.ts\"",
"prettier:check": "npm run prettier:cli -- -l",
"prettier:fix": "npm run prettier:cli -- --write",
"clean": "lerna run --loglevel=silent clean",
"build": "lerna run --loglevel=silent build",
"build:current": "lerna run --loglevel=silent build:current",
"pretest": "npm run build:current",
"test": "nyc npm run mocha",
"mocha": "mocha --opts test/mocha.opts \"packages/*/test/**/*.ts\"",
"posttest": "npm run lint"
},
"nyc": {
"include": [
"packages/example-codehub/src/**",
"packages/*/lib*/*"
],
"exclude": [
"packages/core/*/promisify.*"
],
"extension": [
".js",
".ts"
],
"reporter": [
"html"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}