Shift to prebuild

This commit is contained in:
dannyrb 2019-04-16 16:36:20 -04:00
parent 09291acbd5
commit f7a55ae382

View File

@ -15,10 +15,10 @@
"npm": ">=5"
},
"scripts": {
"build": "node --max-old-space-size=8192 node_modules/rollup/bin/rollup -c",
"build": "npm run prep && node --max-old-space-size=8192 node_modules/rollup/bin/rollup -c",
"prepublishOnly": "npm run build",
"lint": "eslint -c .eslintrc --fix src && prettier --single-quote --write src/**/*.{js,jsx,json,css}",
"prepare": "npm run prep && npm run build",
"prepare": "npm run build",
"predeploy": "cd example && npm install && npm run build",
"deploy": "gh-pages -d example/build",
"generateStaticSite": "./generateStaticSite.sh",