This repository has been archived by the owner on Nov 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.85 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
{
"name": "root",
"private": true,
"workspaces": [
"packages/*"
],
"devDependencies": {
"@babel/cli": "^7.5.0",
"@babel/core": "^7.5.4",
"@babel/plugin-proposal-class-properties": "^7.5.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4",
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.5.0",
"@babel/preset-env": "^7.5.4",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.8.3",
"@babel/types": "^7.8.3",
"@shopify/jest-dom-mocks": "2.7.0",
"@storybook/addon-backgrounds": "^5.1.9",
"@storybook/addon-centered": "^5.1.9",
"@storybook/react": "^5.1.9",
"@testing-library/react": "^9.1.3",
"@testing-library/react-hooks": "^2.0.1",
"@types/node": "^13.5.2",
"@types/react": "^16.9.2",
"@types/react-dom": "^16.9.0",
"@types/styled-components": "^4.1.18",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.6",
"babel-plugin-add-react-displayname": "^0.0.5",
"concurrently": "^4.1.0",
"eslint": "^6.3.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-jsdoc": "^15.9.1",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react-hooks": "^2.0.1",
"jest": "^24.8.0",
"jest-haste-map": "^24.8.1",
"jest-resolve": "^24.8.0",
"jsdoc-import-typedef": "^4.0.0-dev",
"jsdoc-to-markdown": "^5.0.1",
"lerna": "^3.15.0",
"prettier": "^1.18.2",
"react": "^16.8.6",
"react-test-renderer": "^16.9.0",
"tsd-jsdoc": "^2.4.0",
"typescript": "^3.7.5"
},
"scripts": {
"bootstrap": "lerna bootstrap --use-workspaces",
"build:clean": "rm -rf ./packages/**/dist/esm ./packages/**/dist/commonjs && yarn run build:tsc && yarn run build",
"build:commonjs": "lerna exec --parallel -- BABEL_ENV=commonjs babel --root-mode upward src --out-dir dist/commonjs --ignore __tests__,**/*.story.js,**/*.spec.js --source-maps inline",
"build:esm": "lerna exec --parallel -- BABEL_ENV=esm babel --root-mode upward src --out-dir dist/esm --ignore __tests__,**/*.story.js,**/*.spec.js --source-maps inline",
"build:watch": "concurrently --names 'commonjs,esm' 'yarn run build:commonjs -- -w' 'yarn run build:esm -- -w'",
"build:types": "lerna exec --parallel -- jsdoc -t tsd-jsdoc/dist -d ./dist -r ./src",
"build:tsc": "tsc --outDir './packages/hermes/dist/commonjs' --module 'commonjs' && tsc --outDir './packages/hermes/dist/esm'",
"build": "concurrently --names 'commonjs,esm' 'yarn run build:commonjs' 'yarn run build:esm'",
"coverage": "yarn run build:clean && jest --coverage",
"dev": "start-storybook -p 5555",
"lerna:publish": "lerna publish --conventional-commits -m 'chore(release): publish'",
"prepublishOnly": "yarn run build:clean",
"test": "yarn run build:clean && jest"
}
}