-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
77 lines (77 loc) · 2.35 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
{
"name": "react-simple-chart",
"version": "1.0.12",
"description": "easy make chart",
"keywords": [
"chart",
"simple",
"react-chart",
"react-simple-chart"
],
"homepage": "https://github.com/moowoonsunghoon/react-simple-chart",
"bugs": {
"url": "https://github.com/moowoonsunghoon/react-simple-chart",
"email": "[email protected]"
},
"license": "MIT",
"author": {
"name": "SungHoon Moon",
"email": "[email protected]"
},
"main": "dist/js/index.js",
"module": "dist/esm/index.js",
"types": "dist/js/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/moowoonsunghoon/react-simple-chart"
},
"files": [
"dist"
],
"dependencies": {
"fs-extra": "^9.0.1",
"react": "^16.13.1",
"typescript": "^3.7.5"
},
"scripts": {
"build:lib": "yarn build:babel && yarn build:types && node ./scripts/copyTS.js",
"build:babel": "concurrently \"yarn build:babel:esm && yarn build:babel:umd\" \"yarn build:babel:cjs\"",
"build:babel:cjs": "BABEL_ENV=cjs babel --source-maps --extensions \".js,.ts,.tsx\" src --out-dir dist/js --presets=@babel/env",
"build:babel:esm": "BABEL_ENV=esm babel --source-maps --extensions \".js,.ts,.tsx\" src --out-dir dist/esm",
"build:babel:umd": "BABEL_ENV=umd babel --source-maps --extensions \".js\" dist/esm --out-dir dist/umd --plugins=transform-es2015-modules-umd",
"build:types": "tsc -p tsconfig.gen-dts.json",
"clean": "rimraf dist",
"develop": "yarn build:types && yarn build:babel:esm --skip-initial-build --watch --verbose"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-export-default-from": "^7.10.4",
"@babel/plugin-transform-typescript": "^7.11.0",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"@types/react": "^16.9.49",
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
"babel-plugin-typescript-to-proptypes": "^1.4.1",
"concurrently": "^5.3.0"
},
"peerDependencies": {
"react": ">=16.3",
"react-dom": ">=16.3"
}
}