Skip to content

Commit f04d447

Browse files
committed
fix style
1 parent 3d62951 commit f04d447

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

package.json

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,17 @@
1212
"build:flow": "cpy src/index.js.flow lib & cpy src/index.js.flow es",
1313
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
1414
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
15-
"build:umd":
16-
"cross-env BABEL_ENV=es NODE_ENV=development rollup -c -o dist/react-powerplug.js",
17-
"build:umd:min":
18-
"cross-env BABEL_ENV=es NODE_ENV=production rollup -c -o dist/react-powerplug.min.js",
19-
"build:all":
20-
"npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min && npm run build:flow",
15+
"build:umd": "cross-env BABEL_ENV=es NODE_ENV=development rollup -c -o dist/react-powerplug.js",
16+
"build:umd:min": "cross-env BABEL_ENV=es NODE_ENV=production rollup -c -o dist/react-powerplug.min.js",
17+
"build:all": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min && npm run build:flow",
2118
"build": "npm run clean && npm run build:all",
2219
"clean": "rimraf lib dist es",
2320
"typecheck:flow": "flow check && [[ $(flow check) == 'Found 0 errors' ]]",
2421
"lint": "eslint src",
2522
"test:only": "jest",
26-
"test:bundle":
27-
"jest --setupTestFrameworkScriptFile ./tests/jestBundleSetup.js",
23+
"test:bundle": "jest --setupTestFrameworkScriptFile ./tests/jestBundleSetup.js",
2824
"test:lib": "jest --setupTestFrameworkScriptFile ./tests/jestLibSetup.js",
29-
"test:all":
30-
"npm run build && npm run test:only && npm run test:bundle && npm run test:lib && npm run clean",
25+
"test:all": "npm run build && npm run test:only && npm run test:bundle && npm run test:lib && npm run clean",
3126
"test": "npm run test:all",
3227
"precommit": "lint-staged",
3328
"prepublishOnly": "npm run lint && npm run clean && npm run build"

0 commit comments

Comments
 (0)