-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
78 lines (78 loc) · 2.27 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
{
"name": "@localfirst/state-monorepo",
"version": "0.1.8",
"license": "MIT",
"private": true,
"scripts": {
"prebuild": "cpx ./README.md ./packages/state/",
"build": "lerna run build",
"build:css": "yarn workspace @localfirst/toolbar run build:css",
"build:quick": "tsc -b packages/storage-indexeddb examples/toolbar packages/state",
"start": "run-p watch start:grid",
"start:grid": "yarn workspace grid start",
"start:todo": "yarn workspace todo start",
"start:relay": "node ./scripts/start-relay-server.js",
"dev": "run-p watch test:watch",
"dev:log": "run-p watch test:log",
"dev:grid": "run-p watch dev:grid:wait",
"dev:grid:wait": "run-s wait dev:grid:start",
"dev:grid:start": "run-p start:relay watch start:grid",
"dev:grid:e2e": "run-p dev:grid test:grid:e2e",
"dev:todo": "run-p watch dev:todo:wait",
"dev:todo:wait": "run-s wait dev:todo:start",
"dev:todo:start": "run-p start:relay watch start:todo",
"dev:todo:e2e": "run-p dev:todo test:todo:e2e",
"lint": "lerna run lint",
"pub": "lerna publish --yes",
"watch": "run-p watch:build:quick watch:build:css",
"watch:build:quick": "yarn build:quick --watch",
"watch:build:css": "yarn build:css --watch",
"wait": "wait-on ./packages/state/dist/src/index.js",
"test": "jest",
"test:todo:e2e": "yarn workspace todo test:e2e",
"test:grid:e2e": "yarn workspace grid test:e2e",
"test:log": "cross-env DEBUG='lf*' DEBUG_COLORS=1 yarn test",
"test:watch": "jest --watch",
"purge": "scripts/purge.bat"
},
"devDependencies": {
"@types/jest": "26",
"cpx": "1",
"cross-env": "7",
"jest": "26",
"lerna": "3",
"npm-run-all": "4",
"ts-jest": "26",
"wait-on": "5"
},
"workspaces": {
"packages": [
"packages/*",
"examples/*"
],
"nohoist": [
"**/jest/**",
"**/jest"
]
},
"prettier": {
"printWidth": 100,
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
},
"jest": {
"projects": [
"<rootDir>/packages/state",
"<rootDir>/packages/storage-indexeddb",
"<rootDir>/packages/storage-mongodb",
"<rootDir>/examples/grid"
]
},
"publishConfig": {
"ignore": [
"examples/grid",
"examples/todo"
]
}
}