Skip to content
This repository was archived by the owner on Nov 16, 2018. It is now read-only.

Commit 3c7fbe4

Browse files
committed
Add react-tools to the build process
So that the npm package exports .js files and not .jsx
1 parent b524ca9 commit 3c7fbe4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"name": "react-bootstrap-datetimepicker",
3-
"version": "0.0.5",
3+
"version": "0.0.6",
44
"description": "A bootstrap datetime picker component for React.js",
55
"repository": {
66
"type": "git",
77
"url": "http://github.com/quri/react-bootstrap-datetimepicker"
88
},
9-
"main": "./src/DateTimeField.jsx",
9+
"main": "./lib/DateTimeField.js",
1010
"scripts": {
11+
"build-npm": "jsx -x jsx ./src/ ./lib/",
1112
"build": "NODE_ENV=production webpack --output-file react-bootstrap-datetimepicker.js",
1213
"build-min": "NODE_ENV=production COMPRESS=1 webpack --output-file react-bootstrap-datetimepicker.min.js",
1314
"examples": "webpack-dev-server --config ./examples/webpack.config.js",
@@ -40,6 +41,7 @@
4041
"grunt-shell": "~0.6.4",
4142
"jsx-loader": "^0.12.2",
4243
"react": "^0.12.1",
44+
"react-tools": "^0.12.2",
4345
"requirejs": "~2.1.9",
4446
"webpack": "^1.5.1"
4547
},

0 commit comments

Comments
 (0)