forked from ajuvercr/jbr.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 2.84 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
{
"private": true,
"name": "jbr-monorepo",
"repository": "https://github.com/rubensworks/jbr.js/",
"workspaces": [
"packages/*"
],
"engines": {
"node": ">=18.0"
},
"jest": {
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testRegex": "/test/.*.test.ts$",
"moduleFileExtensions": [
"ts",
"js"
],
"collectCoverage": true,
"coveragePathIgnorePatterns": [
"/node_modules/",
"/mocks/",
"index.js",
"packages/jbr/lib/cli"
],
"testEnvironment": "node",
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"scripts": {
"test-changed": "lerna run test --since HEAD",
"build-changed": "lerna run build --since HEAD",
"build": "npm run build:ts && npm run build:components",
"build:ts": "tsc",
"build:components": "componentsjs-generator packages/*",
"build-watch": "tsc --watch",
"publish": "yarn run build",
"publish-release": "lerna publish",
"publish-bare": "lerna exec -- npm publish --silent",
"publish-canary": "yarn run build && lerna version prerelease --preid alpha.$(git rev-parse --short HEAD) --ignore-scripts --force-publish --no-push --no-git-tag-version --yes && git update-index --assume-unchanged $(git ls-files | tr '\\n' ' ') && lerna publish from-package --no-git-reset --pre-dist-tag next --force-publish --no-push --no-git-tag-version --yes && git update-index --no-assume-unchanged $(git ls-files | tr '\\n' ' ') && git checkout .",
"test": "jest",
"test-ci": "jest --ci --maxWorkers=4 --coverage",
"lint": "eslint . --ext .ts --cache",
"clean": "rm -rf ./node_modules && rm -rf ./packages/*/node_modules",
"postinstall": "yarn run build && lerna run prepare",
"version": "manual-git-changelog onversion",
"prepare": "husky install",
"doc": "typedoc"
},
"devDependencies": {
"@lerna/project": "^6.4.1",
"@rubensworks/eslint-config": "1.0.1",
"@strictsoftware/typedoc-plugin-monorepo": "^0.4.2",
"@types/jest": "^29.0.0",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"componentsjs-generator": "^3.0.4",
"eslint": "^7.9.0",
"eslint-config-es": "3.23.0",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^26.0.0",
"eslint-plugin-tsdoc": "^0.2.7",
"eslint-plugin-unused-imports": "^2.0.0",
"fs-extra": "^10.0.0",
"husky": "^8.0.0",
"jest": "^29.0.0",
"jest-extended": "^4.0.0",
"lerna": "^6.0.0",
"manual-git-changelog": "^1.0.1",
"streamify-string": "^1.0.1",
"ts-jest": "^29.0.0",
"typedoc": "^0.21.0",
"typescript": "^4.0.5"
},
"pre-commit": [
"build",
"lint",
"test"
]
}