Skip to content

Commit b634675

Browse files
Simplify build process
1 parent fbff693 commit b634675

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
"name": "react-recomponent",
33
"version": "1.0.0-rc.2",
44
"main": "dist/react-recomponent.js",
5-
"typings": "dist/react-recomponent.d.ts",
5+
"typings": "type-definitions/ReComponent.d.ts",
66
"umd:main": "dist/react-recomponent.umd.js",
77
"module": "dist/react-recomponent.m.js",
88
"source": "src/index.js",
99
"license": "MIT",
1010
"files": [
1111
"dist",
1212
"type-definitions/ReComponent.js.flow",
13+
"type-definitions/ReComponent.d.ts",
1314
"README.md",
1415
"LICENSE"
1516
],
@@ -37,9 +38,7 @@
3738
"test:js": "jest",
3839
"test:types:ts": "yarn build && tsc ./type-definitions/ReComponent.d.ts --lib es2015 && dtslint type-definitions/ts-tests",
3940
"test:types:flow": "flow check .",
40-
"build": "run-p bundle:*",
41-
"bundle:dist": "microbundle -o dist/ --name ReComponent --compress false --sourcemap false",
42-
"bundle:types": "cp type-definitions/ReComponent.d.ts dist/react-recomponent.d.ts",
41+
"build": "microbundle -o dist/ --name ReComponent --compress false --sourcemap false",
4342
"prepublishOnly": "yarn build"
4443
},
4544
"jest": {

0 commit comments

Comments
 (0)