Skip to content

Commit dead8d0

Browse files
committed
fix(package.json): Fixed main field and NODE_ENV for build
1 parent a839229 commit dead8d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-scrollable",
33
"description": "React Scrollable",
4-
"main": "lib/index.js",
4+
"main": "lib/Scrollable.js",
55
"keywords": [
66
"react",
77
"infinity",
@@ -26,9 +26,9 @@
2626
"src"
2727
],
2828
"scripts": {
29-
"build:umd": "NODE_ENV=development webpack --output-file react-scrollable.js",
29+
"build:umd": "NODE_ENV=production webpack --output-file react-scrollable.js",
3030
"build:umd:min": "NODE_ENV=production webpack --output-file react-scrollable.min.js",
31-
"build:lib": "babel src --out-dir lib",
31+
"build:lib": "NODE_ENV=production babel src --out-dir lib",
3232
"build": "npm run build:umd && npm run build:umd:min && npm run build:lib",
3333
"test": "BABEL_ENV=production mocha --compilers js:babel-register",
3434
"test:watch": "npm run test -- --watch",

0 commit comments

Comments
 (0)