forked from loopbackio/loopback-next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 3.98 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
{
"name": "loopback-monorepo",
"description": "Monorepo for LoopBack 4 - A highly extensible Node.js and TypeScript framework for building APIs and microservices",
"license": "MIT",
"author": "IBM Corp. and LoopBack contributors",
"copyright.owner": "IBM Corp. and LoopBack contributors",
"repository": "github:loopbackio/loopback-next",
"scripts": {
"prepare": "husky install",
"postinstall": "npm run update-ts-project-refs",
"update-ts-project-refs": "node bin/update-ts-project-refs.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",
"version": "npm run version:update-cli-template-deps && npm run version:save-cli-metadata",
"version:update-cli-template-deps": "node bin/update-template-deps",
"version:save-cli-metadata": "npm exec -c \"cross-env LANG=en bin/cli-main.js --meta\" -w @loopback/cli",
"tsdocs": "npm run tsdocs:extract-apidocs && npm run tsdocs:document-apidocs && npm run tsdocs:update-apidocs",
"tsdocs:extract-apidocs": "node packages/tsdocs/bin/extract-apis",
"tsdocs:document-apidocs": "node packages/tsdocs/bin/document-apis markdown -i docs/apidocs/models -o docs/site/apidocs",
"tsdocs:update-apidocs": "node packages/tsdocs/bin/update-apidocs",
"precoverage": "npm test",
"coverage": "open-cli coverage/index.html",
"lint": "npm run eslint && npm run prettier:check",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"eslint": "node packages/build/bin/run-eslint --report-unused-disable-directives .",
"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": "npm run clean --if-present -ws && node packages/build/bin/run-clean \"{packages,extensions,examples}/*/dist\" \"benchmark/dist\"",
"build": "node packages/build/bin/compile-package -b",
"build:site": "./bin/build-docs-site.sh",
"build:full": "npm ci && npm run clean && npm run build",
"verify:docs": "npm run build:site -- --verify",
"docs:prepare": "./docs/bin/build-preview-site.sh",
"docs:start": "cd docs/_preview && bundle exec jekyll serve --no-w --i",
"pretest": "npm run clean && npm run build",
"test": "node packages/build/bin/run-nyc npm run mocha",
"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"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"devDependencies": {
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@npmcli/map-workspaces": "^3.0.4",
"@npmcli/package-json": "^5.0.1",
"@types/mocha": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-eslint-plugin": "^5.5.1",
"eslint-plugin-mocha": "^10.4.2",
"eslint-plugin-prettier": "^5.1.3",
"fs-extra": "^11.2.0",
"husky": "^9.0.11",
"lerna": "^8.1.2",
"lint-staged": "^15.2.2",
"markdown-table": "^3.0.3",
"open-cli": "^8.0.0",
"prettier": "^3.2.5",
"typescript": "~5.2.2"
},
"engineStrict": true,
"engines": {
"node": "18 || 20",
"npm": ">=7"
},
"private": true,
"workspaces": [
"acceptance/*",
"benchmark",
"bodyparsers/*",
"docs",
"examples/*",
"extensions/*",
"fixtures/*",
"packages/*",
"sandbox/*"
]
}