-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 3.38 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) · 3.38 KB
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
{
"name": "@company-scope/my-fancy-ui",
"license": "my-chosen-spdx-license",
"version": "0.0.0-development",
"scripts": {
"clean":
"rimraf node_modules flow-typed/npm packages/*/{dist,coverage,flow-typed/npm,node_modules}",
"prepare": "yarn run bootstrap:flow:links",
"bootstrap": "check-engines && per-env && yarn run build",
"bootstrap:development": "yarn run bootstrap:flow",
"bootstrap:production": "exit 0",
"bootstrap:test": "yarn run bootstrap:flow",
"bootstrap:flow":
"yarn run bootstrap:flow:links && yarn run bootstrap:flow:types && yarn run bootstrap:flow:stubs",
"bootstrap:flow:links": "flow-mono create-symlinks build/.flowconfig",
"bootstrap:flow:types":
"flow-mono install-types --overwrite --ignoreDeps=peer && flow-mono create-stubs --use-root",
"bootstrap:flow:stubs": "flow-mono create-stubs --use-root",
"lint": "yarn run lint:editorconfig && lerna run lint --parallel",
"lint:editorconfig":
"editorconfig-checker --exclude-pattern **/*.js.snap packages/*/src/** packages/*/bin/* build",
"prettier":
"prettier --write 'build/**/*.{js,json,scss,sass,css}' 'packages/*/{src,bin}/**/*.{js,json,scss,sass,css}'",
"flow": "lerna run flow --parallel",
"jest": "lerna run jest --parallel",
"jest:coverage": "lerna run jest:coverage --parallel",
"test": "better-npm-run test",
"testcafe":
"testcafe -- chrome:headless __tests__/**/*.js --selector-timeout=30000 --assertion-timeout=30000",
"build": "better-npm-run build",
"dev": "better-npm-run dev",
"start": "better-npm-run start",
"create": "create",
"pwmetrics": "pwmetrics --config=build/pwmetrics.config.js --runs=1",
"precommit": "lint-staged"
},
"betterScripts": {
"dev": {
"command": "lerna run dev --parallel",
"env": {
"DEBUG":
"*,-babel*,-socket*,-express*,-connect*,-body-parser*,-morgan*,-compression*,-send*,-tinylr*",
"BABEL_ENV": "development",
"NODE_ENV": "development"
}
},
"start": {
"command": "lerna run start --parallel",
"env": {
"DEBUG":
"*,-babel*,-socket*,-express*,-connect*,-body-parser*,-morgan*,-compression*,-send*",
"BABEL_ENV": "production",
"NODE_ENV": "production"
}
},
"build": {
"command":
"lerna run build --parallel --ignore=@company-scope/my-fancy-ui && lerna run build --parallel --scope=@company-scope/my-fancy-ui",
"env": {
"DEBUG": "*,-babel",
"BABEL_ENV": "production",
"NODE_ENV": "production"
}
},
"test": {
"command": "yarn run lint:editorconfig && lerna run test --parallel",
"env": {
"BABEL_ENV": "test",
"NODE_ENV": "test"
}
}
},
"engines": {
"node": ">=8.9.2",
"yarn": ">=1.3.2"
},
"private": true,
"workspaces": ["packages/*"],
"dependencies": {
"better-npm-run": "0.1.1",
"check-engines": "1.6.0",
"lerna": "2.11.0",
"per-env": "1.0.2",
"rimraf": "2.7.1"
},
"devDependencies": {
"@immowelt/styleguide-javascript": "1.0.11",
"create-any-cli": "1.3.3",
"editorconfig-checker": "1.4.0",
"flow-bin": "0.201.0",
"flow-mono-cli": "1.5.3",
"flow-typed": "2.6.2",
"lint-staged": "13.2.3",
"prettier": "1.19.1",
"pwmetrics": "3.3.0",
"testcafe": "1.20.1",
"testcafe-react-selectors": "2.1.0"
}
}