-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
109 lines (109 loc) · 3.49 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "watchable-monorepo",
"version": "1.1.1",
"private": true,
"description": "Monorepo for @watchable packages",
"repository": "https://github.com/cefn/watchable",
"license": "MIT",
"author": "Cefn Hoile <github.com@cefn.com> (https://cefn.com)",
"type": "module",
"workspaces": [
"packages/*",
"apps/*"
],
"scripts": {
"qa": "wireit",
"qa:clean": "find . -iname '.wireit' -type d | xargs -I{} rm -rf {}",
"qa:watch": "npm run qa --watch",
"packages:sort": "npm exec sort-package-json package.json {apps,packages}/*/package.json",
"packages:validate": "tsx tooling/validate/cli.ts",
"packages:validate:fix": "npm run packages:validate -- --fix",
"git:ensureclean": "(git diff-index --quiet HEAD && git log --exit-code @..@{u}) || (echo 'Git has uncommitted or unpushed changes: EXITING' && false)",
"git:commit:release": "git add . && git commit -m 'Release changeset' && git push --tags",
"changeset:create": "changeset",
"changeset:version": "changeset version",
"changeset:publish": "changeset publish",
"prerelease:enter": "changeset pre enter alpha",
"prerelease:exit": "changeset pre exit alpha",
"publish": "run-s changeset:create changeset:version build changeset:publish",
"publish:prerelease": "run-s git:ensureclean prerelease:enter publish prerelease:exit git:commit:release",
"publish:release": "run-s git:ensureclean publish git:commit:release"
},
"devDependencies": {
"@changesets/cli": "^2.25.2",
"@types/jest": "^29.2.3",
"@types/json-stable-stringify": "^1.0.34",
"@types/lodash-es": "^4.17.6",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"chalk": "^5.1.2",
"esbuild": "^0.15.16",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard-with-typescript": "^23.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.6",
"eslint-plugin-n": "^15.5.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.31.11",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"lodash-es": "^4.17.21",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.0",
"rimraf": "^3.0.2",
"sort-package-json": "^2.1.0",
"ts-jest": "^29.0.3",
"tsx": "^3.12.6",
"typescript": "^4.9.3",
"wireit": "^0.9.5",
"zx": "^7.1.1"
},
"engines": {
"node": "^18.12.1",
"npm": "^9.1.1"
},
"wireit": {
"qa": {
"dependencies": [
"build",
"test",
"lint",
"packages:validate"
]
},
"build": {
"dependencies": [
"./apps/counter-dom-js:build",
"./apps/counter-react-js:build",
"./apps/counter-react-ts:build",
"./packages/queue:build",
"./packages/store:build",
"./packages/store-edit:build",
"./packages/store-follow:build",
"./packages/store-react:build"
]
},
"test": {
"dependencies": [
"./apps/counter-react-ts:test",
"./packages/queue:test",
"./packages/store:test",
"./packages/store-edit:test",
"./packages/store-follow:test",
"./packages/store-react:test"
]
},
"lint": {
"dependencies": [
"./apps/counter-dom-js:lint",
"./apps/counter-react-js:lint",
"./apps/counter-react-ts:lint",
"./packages/queue:lint",
"./packages/store:lint",
"./packages/store-edit:lint",
"./packages/store-follow:lint",
"./packages/store-react:lint"
]
}
}
}