forked from loopbackio/loopback-next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 4.46 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-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.",
"copyright.owner": "IBM Corp.",
"repository": {
"type": "git",
"url": "https://github.com/loopbackio/loopback-next.git"
},
"engines": {
"node": "^10.16 || 12 || 14 || 16",
"npm": ">=7"
},
"scripts": {
"bootstrap": "lerna bootstrap",
"postinstall": "husky install && 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=lcov",
"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",
"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": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@types/mocha": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-eslint-plugin": "^3.6.1",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-prettier": "^4.0.0",
"fs-extra": "^10.0.0",
"husky": "^7.0.2",
"lerna": "^4.0.0",
"lint-staged": "^11.2.3",
"markdown-table": "^3.0.1",
"open-cli": "^6.0.1",
"prettier": "^2.4.1",
"renovate": "^28.1.2",
"typescript": "~4.4.4"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}