-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
46 lines (46 loc) · 2.15 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
44
45
46
{
"name": "malscc",
"version": "1.0.0",
"description": "Machine Learning Scan Classifier",
"main": "index.js",
"dependencies": {
"bootstrap": "5.3.0",
"express": "4.18.2",
"jquery": "3.7.0",
"morgan": "1.10.0",
"node-sass": "9.0.0",
"nodemon": "2.0.22",
"parallelshell": "3.0.2",
"pdfassembler": "0.1.0-beta.8",
"popper.js": "1.16.1"
},
"devDependencies": {
"@babel/cli": "7.21.5",
"@babel/core": "7.22.5",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "7.22.5",
"babelify": "10.0.0",
"browserify": "17.0.0",
"pug": "3.0.2",
"pug-cli": "1.0.0-alpha6",
"watchify": "4.0.0"
},
"scripts": {
"build-css": "node-sass source/stylesheets/style.scss -o static/css",
"watch-css": "node-sass --watch source/stylesheets/style.scss -o static/css",
"build-js": "mkdir -p static/js && cp source/js/waitingDialog.js static/js/waitingDialog.js && browserify source/js/malscc.js -o static/js/bundle.js -t [ babelify --presets [ @babel/preset-env ] --plugins [ @babel/plugin-proposal-class-properties ] ]",
"watch-js": "mkdir -p static/js && cp source/js/waitingDialog.js static/js/waitingDialog.js && watchify source/js/malscc.js -o static/js/bundle.js -t [ babelify --presets [ @babel/preset-env ] --plugins [ @babel/plugin-proposal-class-properties ] ]",
"clean": "rm -rf static/css && mkdir -p static/css && rm -rf static/js && mkdir -p static/js && rm -rf static/img && rm -rf static/model-data && rm -rf dist",
"build": "npm run clean && npm run build-css && npm run build-js && cp -r source/img static/img && cp -r source/model-data static",
"build-dist": "npm run build && mkdir dist && cp -r static/* dist && pug source/templates/index.pug -o dist && cp source/js/waitingDialog.js dist/js",
"watch": "parallelshell \"npm run watch-css\" \"npm run watch-js\" \"nodemon server -e js,pug\" \"cp -r source/img static/img\" \"cp -r source/model-data static\" \"cp source/js/waitingDialog.js static/js\"",
"start": "node server"
},
"keywords": [
"machine",
"learning"
],
"author": "devsaur",
"license": "MIT"
}