2021-08-25 23:32:20 +00:00
|
|
|
default: webpack
|
2017-12-02 18:37:29 +00:00
|
|
|
|
2018-04-22 18:14:49 +00:00
|
|
|
lint:
|
2021-01-27 20:04:25 +00:00
|
|
|
docker run --rm -ti \
|
|
|
|
-v "$(CURDIR):/src" \
|
|
|
|
-w "/src/src" \
|
|
|
|
node:12-alpine \
|
|
|
|
npx eslint --ext .js,.vue --fix .
|
2017-12-02 18:37:29 +00:00
|
|
|
|
2018-07-26 21:13:29 +00:00
|
|
|
webpack: src/node_modules
|
2021-01-27 20:04:25 +00:00
|
|
|
docker run --rm -i \
|
|
|
|
-v "$(CURDIR):/src" \
|
|
|
|
-w "/src/src" \
|
|
|
|
node:12-alpine \
|
|
|
|
npm run build
|
2018-07-26 21:13:29 +00:00
|
|
|
|
|
|
|
src/node_modules:
|
2021-01-27 20:04:25 +00:00
|
|
|
docker run --rm -i \
|
|
|
|
-v "$(CURDIR):/src" \
|
|
|
|
-w "/src/src" \
|
|
|
|
node:12-alpine \
|
|
|
|
npm ci
|
2018-07-26 21:13:29 +00:00
|
|
|
|
2017-12-02 18:43:46 +00:00
|
|
|
publish:
|
|
|
|
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
|
|
|
|
bash golang.sh
|