Skip to content

Commit bacded0

Browse files
committed
Call example scripts from package scripts
1 parent 4c6f88d commit bacded0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@
1717
"rollup-plugin-node-resolve": "^3.0.3"
1818
},
1919
"scripts": {
20-
"build": "rollup -c",
20+
"install": "npm install --prefix example",
21+
"start": "npm start --prefix example",
22+
"build": "rollup -c && npm run build --prefix example",
2123
"dev": "rollup -c -w",
22-
"test": "node test/test.js",
24+
"test": "npm test --prefix example",
2325
"pretest": "npm run build"
2426
},
2527
"files": [

0 commit comments

Comments
 (0)