-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
38 lines (38 loc) · 2.85 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
{
"name": "evqueue-frontend-react",
"version": "1.0.0",
"description": "evQueue scheduler frontend, fully written in react JS",
"main": "app.js",
"dependencies": {},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-preset-react": "6.24.1",
"sass": "1.26.5",
"npm-run-all": "4.1.5",
"webpack": "4.43.0",
"webpack-cli": "3.3.11"
},
"scripts": {
"build:js": "node_modules/babel-cli/bin/babel.js htdocs/js/src --out-dir htdocs/js/dist --presets react",
"build:css": "node_modules/sass/sass.js --no-source-map --style compressed htdocs/styles/src/ui.scss htdocs/styles/dist/ui.css",
"build": "node_modules/npm-run-all/bin/npm-run-all/index.js build:*",
"watch:js": "node_modules/babel-cli/bin/babel.js --watch htdocs/js/src --out-dir htdocs/js/dist --presets react",
"watch:css": "node_modules/sass/sass.js --source-map --style expanded --watch htdocs/styles/src/ui.scss htdocs/styles/dist/ui.css",
"watch": "node_modules/npm-run-all/bin/npm-run-all/index.js --parallel watch:*",
"pack:js": "node_modules/webpack-cli/bin/cli.js --mode=production htdocs/js/dist/components/base/app.js --output htdocs/js/dist/evqueue.js",
"pack:index": "cat htdocs/index.html | sed -e '/DEV/,/END DEV/c\\' | grep -v PROD | grep -v 'END PROD' >htdocs/index.prod.html",
"pack:extension": "zip evqueue-browser-plugin.zip manifest.json browser-plugin/* htdocs/index.prod.html htdocs/fonts/* htdocs/images/* htdocs/styles/dist/ui.css htdocs/styles/vendor/* htdocs/js/dist/evqueue.js htdocs/js/vendor/*/*; zip evqueue-browser-plugin-src.zip -r browser-plugin htdocs manifest.json package.json README.md && printf \"@ htdocs/index.prod.html\\n@=htdocs/index.html\\n\" | zipnote -w evqueue-browser-plugin.zip && printf \"@ htdocs/index.prod.html\\n@=htdocs/index.html\\n\" | zipnote -w evqueue-browser-plugin-src.zip",
"pack:dist": "ln -s htdocs evqueue && zip evqueue.zip evqueue/index.prod.html evqueue/fonts/* evqueue/images/* evqueue/styles/dist/ui.css evqueue/styles/vendor/* evqueue/js/dist/evqueue.js evqueue/js/vendor/*/* evqueue/conf/cluster.dist.json && printf \"@ evqueue/index.prod.html\\n@=evqueue/index.html\\n\" | zipnote -w evqueue.zip && printf \"@ evqueue/conf/cluster.dist.json\\n@=evqueue/conf/cluster.json\\n\" | zipnote -w evqueue.zip && rm evqueue",
"pack": "rm evqueue evqueue.zip evqueue-browser-plugin.zip evqueue-browser-plugin-src.zip 2>/dev/null; npm run build && npm run pack:js && npm run pack:index && npm run pack:extension && npm run pack:dist && rm htdocs/index.prod.html"
},
"repository": {
"type": "git",
"url": "git+https://github.com/coldsource/evqueue-frontend-react.git"
},
"author": "Thibault Kummer",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/coldsource/evqueue-frontend-react/issues"
},
"homepage": "https://github.com/coldsource/evqueue-frontend-react#readme"
}