-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
26 lines (26 loc) · 1.04 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"name": "skygard-iot-firmware",
"version": "0.0.1",
"description": "Skygard IoT firmware for ESP8266 devices",
"scripts": {
"erase": "esptool --port /dev/ttyUSB0 erase_flash",
"flash": "esptool --port /dev/ttyUSB0 --baud 115200 write_flash --flash_freq 40m --flash_mode dout --flash_size 1MB 0x0000 espruino/boot_v1.6.bin 0x1000 espruino/espruino_esp8266_user1.bin 0xFC000 espruino/esp_init_data_default.bin 0xFE000 espruino/blank.bin",
"reset": "npm run erase && npm run flash",
"reupload": "npm run reset && npm run upload",
"build": "webpack --mode production",
"upload": "npm run build && espruino -p /dev/ttyUSB0 -b 115200 -e 'save()' build/skygard-iot.js",
"console": "screen /dev/ttyUSB0 115200"
},
"dependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"babel-loader": "^8.0.6",
"espruino": "^0.1.27",
"html-loader": "^0.5.5",
"path": "^0.12.7",
"uglifyjs-webpack-plugin": "^2.1.3",
"webpack": "^4.32.2",
"webpack-cli": "^3.3.2"
}
}