forked from herudi/antd-button-color
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
64 lines (64 loc) · 2.13 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
{
"name": "antd-button-color",
"version": "1.0.3",
"main": "dist/js/index.js",
"module": "dist/esm/index.js",
"types": "dist/js/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/herudi/antd-button-color"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"browserslist": [
"last 2 versions",
"Firefox ESR",
"> 1%",
"ie >= 11"
],
"dependencies": {
"@types/react": "^17.0.2",
"antd": "^4.12.3",
"react": "^17.0.1"
},
"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": "cross-env BABEL_ENV=cjs babel --source-maps --extensions \".js,.ts,.tsx\" lib --out-dir dist/js --presets=@babel/env",
"build:babel:esm": "cross-env BABEL_ENV=esm babel --source-maps --extensions \".js,.ts,.tsx\" lib --out-dir dist/esm",
"build:babel:umd": "cross-env 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",
"dev": "yarn build:types && yarn build:babel:esm --skip-initial-build --watch --verbose"
},
"devDependencies": {
"@babel/cli": "^7.10.4",
"@babel/core": "^7.13.1",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-export-default-from": "^7.10.4",
"@babel/plugin-transform-typescript": "^7.13.0",
"@babel/preset-env": "^7.13.0",
"@babel/preset-react": "^7.12.13",
"@types/node": "^12.0.0",
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
"babel-plugin-typescript-to-proptypes": "^1.3.2",
"concurrently": "^5.2.0",
"cross-env": "^7.0.2",
"fs-extra": "^9.1.0",
"typescript": "~3.7.2"
},
"author": "Herudi",
"license": "MIT",
"keywords": [
"Ant Design Button",
"antd button",
"antd button color",
"antd button custom color"
],
"peerDependencies": {
"@types/react": "^17.0.2",
"antd": "^4.12.3",
"react": "^17.0.1"
}
}