mirror of
https://gitlab.com/wirelos/sprocket-ui.git
synced 2025-12-14 22:02:24 +01:00
some changes
This commit is contained in:
10
package.json
10
package.json
@@ -4,18 +4,18 @@
|
||||
"description": "template project for websprockets",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"clear": "rimraf target",
|
||||
"setup": "yarn clear && mkdirp target",
|
||||
"clear": "rimraf data",
|
||||
"setup": "yarn clear && mkdirp data",
|
||||
"test": "echo \"no test specified\" && exit 0",
|
||||
"dev": "yarn setup && yarn build:frontend && npm-run-all --parallel watch:*",
|
||||
"build:js": "webpack",
|
||||
"build:css": "lessc src/styles/main.less target/styles.css",
|
||||
"build:html": "cp -r src/pages/* target/",
|
||||
"build:css": "lessc src/styles/main.less data/styles.css",
|
||||
"build:html": "cp -r src/pages/* data/",
|
||||
"build:frontend": "yarn setup && yarn build:css && yarn build:html && yarn build:js",
|
||||
"watch:html": "nodemon -q -w src/pages/ --ext \".\" --exec \"npm run build:html\"",
|
||||
"watch:css": "nodemon -q -w src/styles --ext \".\" --exec \"npm run build:css\"",
|
||||
"watch:js": "nodemon -q -w src/app --ext \".\" --exec \"npm run build:js\"",
|
||||
"watch:livereload": "cd target && live-server --port=3000",
|
||||
"watch:livereload": "cd data && live-server --port=3000",
|
||||
"docker:build": "docker build -t wirelos/sprocket-ui .",
|
||||
"docker:run": "docker run -p 8080:8080 -d registry.gitlab.com/wirelos/sprocket-ui",
|
||||
"docker:release": "docker tag wirelos/sprocket-ui registry.gitlab.com/wirelos/sprocket-ui && docker push registry.gitlab.com/wirelos/sprocket-ui"
|
||||
|
||||
Reference in New Issue
Block a user