Remove postinstall and add icons cache; fixes #107

This commit is contained in:
Cory LaViska
2020-07-18 07:00:28 -04:00
parent 7efdc1313c
commit cfe70b8cfe
5 changed files with 19 additions and 13 deletions

View File

@@ -23,13 +23,12 @@
},
"scripts": {
"build": "stencil build --docs",
"dev": "stencil build --dev --docs --watch --serve --port 4001 --no-open",
"dev": "npm run make-icons && stencil build --dev --docs --watch --serve --port 4001 --no-open",
"lint": "eslint src/**/*{.ts,.tsx}",
"make-dist": "node make-dist.js",
"make-icons": "node make-icons.js",
"prettier": "npx prettier --write --loglevel warn .",
"postbuild": "npm run make-dist",
"postinstall": "npm run make-icons",
"prebuild": "npm run prettier && npm run lint && npm run make-icons",
"serve": "node dev-server.js",
"start": "concurrently --kill-others \"npm run dev\" \"npm run serve\"",