-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
91 lines (91 loc) · 4.19 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": "@betterer/monorepo",
"version": "0.0.0",
"private": true,
"author": "Craig Spence <craigspence0@gmail.com>",
"license": "MIT",
"description": "Betterer makes it easier to make incremental improvements to your codebase",
"workspaces": {
"packages": [
"packages/*"
]
},
"scripts": {
"api": "yarn compile && lerna run api",
"betterer": "node ./packages/cli/bin/betterer",
"betterer:ci": "node ./packages/cli/bin/betterer ci",
"betterer:precommit": "node ./packages/cli/bin/betterer precommit --cache",
"build": "yarn compile:packages && yarn test:api && yarn test:dependencies && yarn format && yarn lint && yarn test && yarn test:workers && yarn test:e2e",
"build:ci": "yarn compile:packages && yarn test:api && yarn test:dependencies && yarn format && yarn lint && yarn test && yarn test:workers && yarn betterer:ci",
"build:extension": "lerna run build:extension",
"build:publish": "yarn compile:packages && yarn test:api && yarn test:dependencies && yarn test",
"clean": "yarn clean:tests && yarn clean:compile && yarn clean:modules && yarn clean:rollup",
"clean:tests": "rimraf fixtures && rimraf reports",
"clean:compile": "lerna exec \"rimraf dist\" && rimraf ./**/tsconfig.tsbuildinfo",
"clean:modules": "lerna exec \"rimraf node_modules\" && rimraf website/node_modules && rimraf node_modules && yarn",
"clean:rollup": "lerna exec \"rimraf .rollup.cache\"",
"commit": "git cz",
"compile": "yarn compile:packages && yarn compile:api-test && yarn compile:dependencies-test",
"compile:api-test": "tsc -b test/api",
"compile:dependencies-test": "tsc -b test/dependencies",
"compile:docs": "yarn api && yarn docs",
"compile:packages": "yarn compile:render && tsc -b packages",
"compile:render": "lerna run compile --scope @betterer/render",
"compile:watch": "tsc -b packages -w",
"docs": "ts-node ./tools/docs-filter.ts && api-documenter generate -i ./goldens/models -o ./website/docs/api/",
"lint": "eslint \"./packages/**/src/**/*.{js,ts}\" \"./test/**/*.{ts,tsx}\" \"./*.{js,ts}\" --fix",
"format": "prettier \"**/!(*.snap)\" --write --loglevel=error",
"test": "yarn clean:tests && node node_modules/jest-cli/bin/jest.js",
"test:api": "yarn compile:api-test && node ./test/api/dist",
"test:dependencies": "yarn compile:dependencies-test && node ./test/dependencies/dist",
"test:debug": "yarn clean:tests && node --inspect-brk node_modules/jest-cli/bin/jest.js --runInBand --collectCoverage=false",
"test:e2e": "yarn clean:tests && jest --runInBand --config ./jest.e2e.config.js",
"test:workers": "yarn clean:tests && jest --runInBand --config ./jest.workers.config.js",
"test:extension": "lerna run test:extension",
"prepublishOnly": "yarn run build:publish",
"publish": "lerna publish --conventional-commits --no-commit-hooks --yes",
"prepare": "patch-package && ngcc && husky install"
},
"engines": {
"node": ">=16"
},
"types": "test/betterer-public-api.d.ts",
"devDependencies": {
"@betterer/cli": "^5.3.6",
"@betterer/regexp": "^5.3.6",
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@microsoft/api-documenter": "^7.13.54",
"@microsoft/api-extractor": "^7.18.11",
"@phenomnomnominal/commitlint-plugin": "^1.1.1",
"@types/eslint": "^7.28.0",
"@types/jest": "^27.0.1",
"@types/node": "^17.0.23",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"cz-conventional-changelog": "^3.3.0",
"dependency-check": "^4.1.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.1.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-require-extensions": "^0.1.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"jest": "^27.0.4",
"lerna": "^6.6.2",
"lint-staged": ">=11.1.2",
"patch-package": "^8.0.0",
"prettier": "^2.2.1",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"typescript": "^4.4.2"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}