chore: add prepare script

This commit is contained in:
Daniel Perez Alvarez
2020-05-18 10:01:37 -07:00
committed by Gajus Kuizinas
parent 64af79d428
commit 0dbb06ecc6
+1
View File
@@ -44,6 +44,7 @@
"url": "https://github.com/gajus/create-index"
},
"scripts": {
"prepare": "npm run build",
"build": "cross-env NODE_ENV=production babel --source-maps --copy-files ./src --out-dir ./dist",
"create-index": "node ./dist/bin/create-index ./src/utilities",
"lint": "cross-env NODE_ENV=development eslint ./src ./tests",