forked from loopbackio/loopback-next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 4.22 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
{
"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",
"private": true,
"license": "MIT",
"author": "IBM Corp. and LoopBack contributors",
"copyright.owner": "IBM Corp. and LoopBack contributors",
"repository": "github:loopbackio/loopback-next",
"engineStrict": true,
"engines": {
"node": "14 || 16 || 17 || 18",
"npm": ">=7"
},
"scripts": {
"prepare": "husky install",
"postinstall": "lerna 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",
"precoverage": "npm test",
"coverage": "open-cli coverage/index.html",
"lint": "npm run eslint && npm run prettier:docs:check && 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,extensions,examples}/*/dist\" \"benchmark/dist\"",
"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",
"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,extensions,examples}/*/dist/__tests__/**/*.js\" \"packages/{build,cli}/test/**/*.js\"",
"posttest": "npm run lint"
},
"devDependencies": {
"@commitlint/cli": "^17.2.0",
"@commitlint/config-conventional": "^17.2.0",
"@types/mocha": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-eslint-plugin": "^5.0.6",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-prettier": "^4.2.1",
"fs-extra": "^10.1.0",
"husky": "^8.0.1",
"lerna": "^6.0.1",
"lint-staged": "^13.0.3",
"markdown-table": "^3.0.2",
"open-cli": "^7.1.0",
"prettier": "^2.7.1",
"typescript": "~4.8.4"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}