-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.96 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 3.96 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
100
101
102
103
104
105
106
107
{
"name": "cybereact",
"version": "0.1.4",
"main": "index.js",
"repository": "git@github.com:NoName4Me/react-ui.git",
"author": "NoName4Me <anich.evas@gmail.com>",
"license": "MIT",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"release": "npm publish dist",
"prerelease": "yarn build && sh scripts/build/prepare-release-files.sh",
"build": "yarn build:cjs && yarn build:esm && yarn build:umd && yarn gen-dts:cjs && yarn gen-dts:esm",
"build:cjs": "cross-env NODE_ENV=production BABEL_ENV=cjs babel --config-file ./babel.config.js ./src --extensions .tsx,.ts --out-dir ./dist --ignore \"**/stories/*,**/__test__/*\"",
"postbuild:cjs": "yarn gen-dts:cjs && yarn copy-files:cjs",
"build:esm": "cross-env NODE_ENV=production BABEL_ENV=esm babel --config-file ./babel.config.js ./src --extensions .tsx,.ts --out-dir ./dist/esm --ignore \"**/stories/*,**/__test__/*\"",
"postbuild:esm": "yarn gen-dts:esm && yarn copy-files:esm",
"build:umd": "cross-env NODE_ENV=production BABEL_ENV=umd rollup -c scripts/build/rollup.config.js",
"gen-dts:cjs": "tsc --declaration --outDir dist/ --emitDeclarationOnly --noEmit false",
"gen-dts:esm": "tsc --declaration --outDir dist/esm --emitDeclarationOnly --noEmit false",
"copy-files:cjs": "copyfiles -u 1 src/**/*.scss -e \"./src/**/stories/*\" dist",
"copy-files:esm": "copyfiles -u 1 src/**/*.scss -e \"./src/**/stories/*\" dist/esm",
"test": "jest -c scripts/jest/jest.config.js",
"test:ui": "jest -c scripts/jest/jest.ui.config.js",
"test:cov": "jest --coverage",
"format": "pretty-quick",
"lint": "eslint src --ext .ts,.tsx,.js,.jsx --ignore-pattern 'src/**/stories'",
"lint:fix": "yarn lint --fix",
"tsc": "tsc -b",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"cz": "./node_modules/cz-customizable/standalone.js"
},
"lint-staged": {
"src/**/*.*": [
"npm run format",
"git add"
],
"src/**/!(*stories).{tsx,js,ts,jsx}": [
"npm run lint:fix",
"git add"
]
},
"peerDependencies": {
"react": "^16.13.0",
"react-dom": "^16.13.0"
},
"dependencies": {
"clsx": "^1.1.0",
"prop-types": "^15.7.2",
"react-draggable": "^4.3.1",
"react-transition-group": "^4.3.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@babel/plugin-transform-runtime": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@babel/preset-react": "^7.9.4",
"@babel/preset-typescript": "^7.9.0",
"@material-ui/core": "^4.9.12",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@storybook/addon-actions": "^6.0.26",
"@storybook/addon-essentials": "^6.0.26",
"@storybook/addon-links": "^6.0.26",
"@storybook/addons": "^6.0.26",
"@storybook/react": "^6.0.26",
"@storybook/theming": "^6.0.26",
"@types/jest": "^25.2.1",
"@types/react-dom": "^16.9.8",
"@types/react-transition-group": "^4.2.4",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"babel-loader": "^8.1.0",
"copyfiles": "^2.4.0",
"core-js": "^3.0.1",
"cross-env": "^7.0.2",
"css-loader": "^3.5.3",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"jest": "^25.5.4",
"jest-image-snapshot": "^3.1.0",
"node-sass": "^4.14.0",
"prettier": "^2.0.5",
"pretty-quick": "^2.0.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-is": "^17.0.1",
"rimraf": "^3.0.2",
"rollup": "^2.7.6",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-sass": "^1.2.2",
"rollup-plugin-terser": "^5.3.0",
"sass-loader": "^8.0.2",
"style-loader": "^1.2.1",
"ts-jest": "^25.4.0",
"ts-loader": "^7.0.2",
"typescript": "^3.8.3"
}
}