/
package.json
135 lines (130 loc) · 4.7 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "monorepo",
"license": "MIT",
"author": "Looker",
"private": true,
"workspaces": [
"packages/*",
"playground",
"storybook",
"www"
],
"homepage": "http://github.com/looker-open-source/components",
"repository": {
"type": "git",
"url": "git+https://github.com/looker-open-source/components.git"
},
"bugs": {
"url": "https://github.com/looker-open-source/components/issues"
},
"engines": {
"node": ">=12",
"yarn": ">=1.14.0"
},
"scripts": {
"prebuild": "yarn clean && yarn lerna run prebuild --stream",
"build": "run-p -c build:*",
"build:cjs": "yarn lerna exec --scope '@looker/*' --stream 'babel src --env-name cjs --root-mode upward --out-dir lib/cjs --source-maps --extensions .ts,.tsx --no-comments'",
"build:esm": "yarn lerna exec --scope '@looker/*' --stream 'babel src --env-name esm --root-mode upward --out-dir lib --source-maps --extensions .ts,.tsx --no-comments'",
"build:ts": "yarn lerna exec --stream --scope '@looker/*' --sort 'tsc -b tsconfig.build.json'",
"bumpversion": "yarn lerna version --conventional-commits --no-git-tag-version --no-push --yes",
"clean": "run-p -c clean:*",
"clean:build": "rm -Rf packages/*/lib",
"clean:icons": "rm -Rf packages/icons/src/generated",
"clean:storybook": "rm -Rf packages/*/storybook-static ",
"clean:docs": "find docs -type f ! -name 'index.html' -delete",
"clean:gatsby": "rm -Rf www/.cache www/public",
"clean:coverage": "rm -rf coverage",
"playground": "yarn workspace playground start",
"gatsby": "yarn workspace www start",
"fix": "yarn lint:es --fix",
"lint": "run-p -c lint:*",
"lint:css": "stylelint 'packages/**/*.ts{,x}'",
"lint:es": "eslint 'packages/**/*.ts{,x}' 'playground/**/*.ts{,x}' 'storybook/**/*.ts{,x}' 'www/**/*.ts{,x}' 'www/**/*.mdx' --cache",
"lint:ts": "tsc",
"lint:circular": "madge packages/*/src --circular --extensions ts,tsx",
"lint-staged": "yarn exec lint-staged",
"pretest": "yarn prebuild",
"test": "yarn jest",
"storybook": "yarn workspace storybook develop",
"storybook-docs": "yarn workspace storybook develop-docs",
"prestoryshots": "yarn prebuild",
"storyshots": "export storybookBuildMode=fast && yarn lerna run storybook-build --scope '@looker/*' --stream --parallel",
"pretest:image-snapshots": "yarn storyshots",
"test:image-snapshots": "yarn jest --config jest-image-snapshots.config.js",
"pretest:image-snapshots-update": "yarn storyshots",
"test:image-snapshots-update": "rm -rf packages/*/snapshots && yarn jest -u --config jest-image-snapshots.config.js",
"pretest:a11y": "yarn storyshots",
"test:a11y": "yarn jest --config jest-a11y.config.js",
"website-canary": "./config/website-canary.sh",
"website-latest": "./config/website-latest.sh"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.13.8",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-proposal-optional-chaining": "^7.12.7",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@babel/runtime": "^7.12.5",
"@babel/runtime-corejs3": "^7.12.5",
"@testing-library/jest-dom": "^5.11.6",
"@types/jest-image-snapshot": "^4.1.3",
"@types/node": "^14.14.22",
"babel-plugin-styled-components": "1.12.0",
"core-js": "^3.8.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"eslint": "^7.15.0",
"jest": "^26.6.3",
"jest-canvas-mock": "^2.3.0",
"jest-image-snapshot": "^4.3.0",
"jest-styled-components": "^7.0.3",
"lerna": "^3.22.1",
"lint-staged": "^10.5.3",
"madge": "^4.0.0",
"node-fetch": "2.6.1",
"npm-run-all": "^4.1.5",
"pre-commit": "1.2.2",
"prettier": "2.2.1",
"puppeteer": "5.5.0",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-is": "^16.13.1",
"react-test-renderer": "^16.14.0",
"styled-components": "^5.2.1",
"typescript": "4.1.2",
"webpack": "^4.44.2"
},
"resolutions": {
"axios": ">= 0.21.0",
"eslint-plugin-react-hooks": "4.2.0",
"highlight.js": "10.4.1",
"immer": "8.0.1",
"node-fetch": "2.6.1",
"node-forge": "0.10.0",
"prismjs": ">= 1.23.0",
"react": "16.14.0",
"react-dom": "16.14.0",
"socket.io": "2.4.0"
},
"lint-staged": {
"**/*.ts?(x)": [
"stylelint",
"eslint --cache"
],
"**/*.js?(x)": [
"eslint --cache"
],
"**/*.mdx": [
"eslint"
]
},
"pre-commit": [
"lint-staged"
],
"prettier": "@looker/prettier-config"
}