forked from kiibohd/KiiConf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.77 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"name": "KiiConf",
"version": "0.5.0",
"license": "GPL-3.0",
"homepage": "https://input.club/configurator",
"description": "A web configurator for the kiibohd firmware.",
"bugs": {
"url": "https://github.com/kiibohd/KiiConf/issues"
},
"contributors": [
"Matteo Spinelli",
"Jacob Alexander <[email protected]>",
"Jeremy Bondeson <[email protected]>"
],
"scripts": {
"clean": "rm -r dist/* || true",
"build:link": "ln -sf \"$PWD/controller\" dist/controller && ln -sf \"$PWD/tmp\" dist/tmp && ln -sf \"$PWD/controller-lts\" dist/controller-lts && ln -sf \"$PWD/tmp-lts\" dist/tmp-lts",
"build:css": "lessc css/style.less dist/css/style.css",
"build:html": "cp *.html *.php stats.json dist/",
"build:img": "mkdir -p dist/img && cp img/*.png img/*.svg dist/img",
"build:js": "mkdir -p dist/lib && cp lib/*.js ./node_modules/babel-polyfill/dist/*.min.js dist/lib && babel ./js -d dist/js -s",
"build:env": "mkdir -p dist/layouts dist/cgi-bin && cp layouts/*.json dist/layouts && cp cgi-bin/*.bash dist/cgi-bin",
"build:code": "npm run build:html && npm run build:css && npm run build:img && npm run build:js && npm run build:env",
"build:watch": "watch 'npm run build:code' . -d --filter=dev-watch.js --wait=30 --interval=30",
"build": "npm run clean -s && mkdir -p dist/ && npm run build:link && npm run build:code",
"dev": "npm run build && npm run build:watch",
"start": "foreman start"
},
"repository": {
"type": "git",
"url": "https://github.com/kiibohd/KiiConf.git"
},
"devDependencies": {
"babel-cli": "^6.7.5",
"babel-plugin-transform-runtime": "^6.9.0",
"babel-preset-es2015": "^6.6.0",
"less": "^2.7.1",
"watch": "^0.18.0"
},
"dependencies": {
"babel-runtime": "^6.9.0"
}
}