Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bdf2d3d

Browse files
Refactor npm script
1 parent c1136f7 commit bdf2d3d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎package.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"test:should": "mocha --compilers js:babel-register --reporter spec test/should/*.js",
1313
"test:tape": "tape --require babel-register test/tape/*.js",
1414
"test": "npm run test:index && npm run test:chai && npm run test:expect && npm run test:expectjs && npm run test:jasmine && npm run test:jest && npm run test:should && npm run test:tape",
15-
"prepublish": "rimraf build && babel src --out-dir build --copy-files"
15+
"copy-resources": "cp {README.md,LICENSE} ./build",
16+
"build": "rimraf build && babel src --out-dir build --copy-files ",
17+
"prepublish": "npm run build && npm run copy-resources"
1618
},
1719
"repository": {
1820
"type": "git",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /