mirror of
https://gitlab.com/wirelos/sprocket-ui.git
synced 2025-12-14 22:02:24 +01:00
56 lines
2.0 KiB
JSON
56 lines
2.0 KiB
JSON
{
|
|
"name": "websprocket",
|
|
"version": "1.0.0",
|
|
"description": "template project for websprockets",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"clear": "rimraf target",
|
|
"setup": "yarn clear && mkdirp target",
|
|
"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: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",
|
|
"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"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/0x1d/websprocket.git"
|
|
},
|
|
"author": "",
|
|
"license": "SEE LICENSE FILE",
|
|
"bugs": {
|
|
"url": "https://github.com/0x1d/websprocket/issues"
|
|
},
|
|
"homepage": "https://github.com/0x1d/websprocket#readme",
|
|
"devDependencies": {
|
|
"babel": "latest",
|
|
"babel-core": "latest",
|
|
"babel-loader": "latest",
|
|
"babel-plugin-transform-runtime": "latest",
|
|
"babel-preset-env": "latest",
|
|
"babel-preset-minify": "^0.3.0",
|
|
"babel-runtime": "^6.26.0",
|
|
"less": "latest",
|
|
"live-server": "^1.2.0",
|
|
"mkdirp": "^0.5.1",
|
|
"nodemon": "latest",
|
|
"npm-run-all": "^4.1.2",
|
|
"raw-loader": "^0.5.1",
|
|
"rimraf": "^2.6.2",
|
|
"webpack": "^3.11.0"
|
|
},
|
|
"dependencies": {
|
|
"jquery": "^3.3.1",
|
|
"mustache": "^2.3.0",
|
|
"ws": "^5.0.0"
|
|
}
|
|
}
|