Files
esp8266-laser/package.json
2017-11-02 22:22:38 +00:00

42 lines
1.6 KiB
JSON

{
"name": "esp8266-laser",
"version": "1.0.0",
"description": "Wifi Host for the Arduino-Laser-Spirograph",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"clear": "rm -rf data/*",
"cp:config": "cp config/* data/",
"build:css": "lessc frontend/styles/main.less data/styles.css",
"build:js": "cat frontend/scripts/* > data/scripts.js",
"build:html": "cp -r frontend/pages/* data/",
"build": "npm run build:css && npm run build:html && npm run build:js",
"watch:html": "nodemon -q -w frontend/pages/ --ext \".\" --exec \"npm run build:html\"",
"watch:css": "nodemon -q -w frontend/styles --ext \".\" --exec \"npm run build:css\"",
"watch:js": "nodemon -q -w frontend/scripts --ext \".\" --exec \"npm run build:js\"",
"watch:config": "nodemon -q -w config --ext \".\" --exec \"npm run cp:config\"",
"watch:livereload": "cd data && live-server --port=3000",
"build:fs": "pio run -t buildfs",
"upload:fs": "pio run -t uploadfs",
"build:firmware": "pio run -t clean && pio run",
"upload:firmware": "pio run -e nodemcu -t upload",
"dev": "npm run clear && npm run build && npm-run-all --parallel watch:*"
},
"repository": {
"type": "git",
"url": "git+https://github.com/0x1d/esp8266-laser.git"
},
"author": "",
"license": "SEE LICENSE FILE",
"bugs": {
"url": "https://github.com/0x1d/esp8266-laser/issues"
},
"homepage": "https://github.com/0x1d/esp8266-laser#readme",
"devDependencies": {
"less": "^3.0.0-alpha.3",
"live-server": "^1.2.0",
"nodemon": "^1.12.1",
"npm-run-all": "^4.1.1"
}
}