2018-04-24 07:40:05 +00:00
|
|
|
all: dev-setup build-js-production
|
2018-04-06 19:03:36 +00:00
|
|
|
|
2018-04-24 07:40:05 +00:00
|
|
|
dev-setup: clean clean-dev npm-init
|
|
|
|
|
|
|
|
npm-init:
|
|
|
|
npm install
|
2018-04-06 19:03:36 +00:00
|
|
|
|
|
|
|
npm-update:
|
|
|
|
npm update
|
|
|
|
|
|
|
|
build-js:
|
|
|
|
npm run dev
|
|
|
|
|
|
|
|
build-js-production:
|
|
|
|
npm run build
|
|
|
|
|
|
|
|
watch-js:
|
|
|
|
npm run watch
|
|
|
|
|
|
|
|
clean:
|
2018-11-05 15:02:32 +00:00
|
|
|
rm -f js/vue-*.js
|
|
|
|
rm -f js/vue-*.js.map
|
2018-04-24 07:40:05 +00:00
|
|
|
|
|
|
|
clean-dev:
|
|
|
|
rm -rf node_modules
|
2018-04-06 19:03:36 +00:00
|
|
|
|