Skip to content

Commit 522c75b

Browse files
committed
update build script
1 parent b5388c1 commit 522c75b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"pretest": "npm run build",
1111
"check": "flow check",
12-
"build:client":"babel src/plugins/client.js --out-file lib/plugins/client.js --presets=es2015 --plugins=transform-object-assign && cp lib/plugins/client.js dist/plugin.js",
12+
"build:client":"babel src/plugins/client.js --out-file lib/plugins/client.js --presets=es2015 --plugins=transform-object-assign && mkdir dist; cp lib/plugins/client.js dist/plugin.js",
1313
"build:server": "npm run check && rm -rf lib/* && flow-remove-types src/ -d lib/ --pretty && rm -f lib/type.js",
1414
"build":"npm run build:client & npm run build:server",
1515
"test": "nyc ava",

0 commit comments

Comments
 (0)