forked from looker-open-source/components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
119 lines (119 loc) · 3.99 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
{
"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": {
"prepare": "yarn lerna run prepare --stream",
"prebuild": "yarn clean && yarn prepare",
"build": "run-p -c build:*",
"build:es": "yarn lerna exec --scope '@looker/*' --stream 'BABEL_ENV=build babel src --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'",
"prerelease": "yarn build",
"release": "yarn lerna publish",
"clean": "run-p -c clean:*",
"clean:lib": "rm -Rf packages/*/lib ",
"clean:storybook": "rm -Rf packages/*/storybook-static ",
"clean:docs": "rm -Rf docs/static www/.cache www/public",
"deploy": "./config/deploy.sh",
"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-staged": "yarn exec lint-staged",
"test": "yarn jest",
"storybook": "yarn workspace storybook develop",
"storybook-docs": "yarn workspace storybook develop-docs",
"storybooks-build": "yarn lerna run storybook-build --scope '@looker/*' --stream --parallel",
"preimage-snapshots": "export storybookBuildMode=fast && yarn storybooks-build && yarn clean:lib && yarn prepare",
"image-snapshots-only": "yarn jest --config jest-image-snapshots.config.js",
"image-snapshots": "yarn image-snapshots-only",
"image-snapshots-update": "rm -rf packages/*/snapshots && yarn image-snapshots"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
"@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.12",
"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",
"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",
"node-fetch": "2.6.1",
"node-forge": "0.10.0",
"prismjs": "1.22.0",
"react": "16.14.0",
"react-dom": "16.14.0"
},
"lint-staged": {
"**/*.ts?(x)": [
"stylelint",
"eslint --cache"
],
"**/*.js?(x)": [
"eslint --cache"
],
"**/*.mdx": [
"eslint"
]
},
"pre-commit": [
"lint-staged"
],
"prettier": "@looker/prettier-config"
}