forked from loopbackio/loopback-next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 4.74 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
90
91
92
93
94
95
96
97
98
{
"name": "loopback-next",
"description": "Monorepo for LoopBack 4 - A highly extensible Node.js and TypeScript framework for building APIs and microservices",
"version": "0.1.0",
"author": "IBM Corp.",
"license": "MIT",
"copyright.owner": "IBM Corp.",
"engines": {
"node": "^10.16 || 12 || 14"
},
"repository": {
"type": "git",
"url": "https://github.com/strongloop/loopback-next.git"
},
"scripts": {
"bootstrap": "lerna bootstrap",
"postinstall": "npm run -s bootstrap && npm run -s update-ts-project-refs",
"update-ts-project-refs": "node packages/monorepo/lib/update-ts-project-refs.js",
"update-packages": "npm run -s update-package-locks",
"check-package-metadata": "node bin/check-package-metadata.js",
"prerelease": "npm run build:full && cross-env CI=1 npm run mocha && npm run lint",
"release": "cross-env CI=1 lerna version && lerna publish from-git --yes",
"update-package-locks": "node packages/monorepo/lib/rebuild-package-locks",
"update-template-deps": "node bin/update-template-deps",
"update-package-deps": "node packages/monorepo/lib/update-package-deps",
"update-all-deps": "npm update && lerna exec -- npm update && npm run update-package-locks",
"update-monorepo-file": "node bin/update-monorepo-file",
"sync-dev-deps": "node bin/sync-dev-deps",
"monorepo:fix": "node bin/fix-monorepo",
"monorepo:check": "node packages/monorepo/lib/check-package-locks && node bin/check-package-metadata",
"save-cli-metadata": "node packages/cli/bin/cli-main.js --meta",
"version": "npm run update-template-deps && npm run update-package-deps && npm run save-cli-metadata",
"outdated": "npm outdated --depth 0 && lerna exec --no-bail \"npm outdated --depth 0\"",
"tsdocs": "lerna run --scope @loopback/tsdocs build:tsdocs",
"coverage:ci": "node packages/build/bin/run-nyc report --reporter=text-lcov | coveralls",
"precoverage": "npm test",
"coverage": "open-cli coverage/index.html",
"lint": "npm run prettier:docs:check && npm run eslint && npm run monorepo:check",
"lint:fix": "npm run eslint:fix && npm run prettier:docs:fix",
"eslint": "node packages/build/bin/run-eslint --report-unused-disable-directives --cache .",
"eslint:fix": "npm run eslint -- --fix",
"prettier:cli": "node packages/build/bin/run-prettier \"**/*.ts\" \"**/*.js\" \"**/*.md\"",
"prettier:check": "npm run prettier:cli -- --check",
"prettier:fix": "npm run prettier:cli -- --write",
"prettier:docs": "node packages/build/bin/run-prettier \"**/*.md\"",
"prettier:docs:check": "npm run prettier:docs -- --check",
"prettier:docs:fix": "npm run prettier:docs -- --write",
"clean": "lerna run clean && node packages/build/bin/run-clean \"packages/*/dist\" \"extensions/*/dist\" \"examples/*/dist\" \"benchmark/dist\"",
"clean:lerna": "lerna clean",
"build": "node packages/build/bin/compile-package -b",
"build:full": "npm ci --ignore-scripts && lerna bootstrap --ci && npm run clean && npm run build",
"pretest": "npm run clean && npm run build",
"test": "node packages/build/bin/run-nyc npm run mocha",
"test:ci": "node packages/build/bin/run-nyc npm run mocha",
"verify:docs": "npm run build:site -- --verify",
"build:site": "./bin/build-docs-site.sh",
"docs:prepare": "./docs/bin/build-preview-site.sh",
"docs:start": "cd docs/_preview && bundle exec jekyll serve --no-w --i",
"mocha": "node packages/build/bin/run-mocha --lang en_US.UTF-8 \"packages/*/dist/__tests__/**/*.js\" \"extensions/*/dist/__tests__/**/*.js\" \"examples/*/dist/__tests__/**/*.js\" \"packages/cli/test/**/*.js\" \"packages/build/test/*/*.js\"",
"posttest": "npm run lint"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@commitlint/travis-cli": "^11.0.0",
"@types/mocha": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"coveralls": "^3.1.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.16.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-eslint-plugin": "^2.3.0",
"eslint-plugin-mocha": "^8.0.0",
"eslint-plugin-prettier": "^3.3.0",
"fs-extra": "^9.0.1",
"husky": "^4.3.6",
"if-env": "^1.0.4",
"lerna": "^3.22.1",
"lint-staged": "^10.5.3",
"markdown-table": "^2.0.0",
"open-cli": "^6.0.1",
"prettier": "^2.2.1",
"typescript": "~4.1.3"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "if-env LINT_STAGED=0 && echo \"lint-staged disabled via LINT_STAGED env var\" || lint-staged"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}