Skip to content

Commit cd1c340

Browse files
committed
2 parents 6ce9df5 + 83bcb67 commit cd1c340

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "react-library-skeleton",
33
"version": "0.0.0-development",
44
"description": "my personal skeleton for React library NPM packages",
5-
"main": "lib/index.js",
5+
"main": "index.js",
66
"module": "es/index.js",
77
"modules.root": "es",
88
"sideEffects": false,
@@ -13,7 +13,7 @@
1313
"flow": "flow",
1414
"flow:coverage": "for file in src/**.js test/**.js; do echo $file; flow coverage $file; done",
1515
"flow:watch": "flow-watch -e js,js.flow,flowconfig --ignore es/ --ignore node_modules/ --watch .flowconfig --watch src/ --watch test/",
16-
"clean": "rimraf *.js *.js.flow es && git checkout HEAD *.js",
16+
"clean": "rimraf *.js *.js.flow es lib && git checkout HEAD *.js",
1717
"build": "npm run clean && BABEL_ENV=production babel src --out-dir es && flow-copy-source -v src/ es && BABEL_ENV=es5 babel src --out-dir . && flow-copy-source -v src/ .",
1818
"test": "NODE_ENV=production BABEL_ENV=es5 mocha $npm_package_config_mocha && NODE_ENV=production BABEL_ENV=coverage nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha",
1919
"test:watch": "NODE_ENV=production BABEL_ENV=test mocha --watch $npm_package_config_mocha",

0 commit comments

Comments
 (0)