-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
67 lines (67 loc) · 2.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "jsrepl",
"version": "1.0.0",
"description": "",
"main": "manipulate.js",
"scripts": {
"test": "echo \"Error: no test specified\"",
"scss": "node-sass --output-style -o app/css dev",
"scss:production": "node-sass --output-style compressed -o app/css dev",
"bootstrap:scss": "echo love && node-sass --output-style compressed -o app/css node_modules/bootstrap/scss/bootstrap.scss",
"bootstrap-darkly-scss": "node-sass --output-style compressed -o app/css node_modules/bootstrap/scss/bootstrap-darkly.scss",
"bootstrap-js": "ROBOCOPY \".\\node_modules\\bootstrap\\dist\\js\" \"app\\js\" bootstrap.bundle.min.js bootstrap.bundle.min.js.map /mir || exit 0",
"autoprefixer": "postcss -u autoprefixer -r app/css/*",
"lint": "eslint dev",
"uglify": "(IF NOT EXIST app\\js (MKDIR app\\js)) & uglifyjs babel/*.js -m -o app/js/app.js",
"imagemin": "imagemin dev/images app/images -p",
"babel":"npx babel dev/*.js --out-dir babel",
"serve": "browser-sync start --server --files 'css/*.css, js/*.js, *.html' --startPath /app",
"build:css": "npm run scss && npm run autoprefixer",
"build:js": "npm run lint & (IF NOT EXIST app\\js (MKDIR app\\js)) & COPY \"dev\\manipulate.js\" \"app\\js\\app.js\" /Y ",
"build:all": "npm run lint && npm run uglify",
"build:js:production": "npm run lint && npm run babel && npm run uglify",
"build:all:production": "npm run build:css && npm run build:js:production && npm run imagemin",
"watch:css": "onchange \"dev/*.scss\" \"node_modules/bootstrap/scss/*.scss\" -- npm run build:css",
"watch:bootstrap:css": "onchange \"node_modules/bootstrap/scss/*.scss\" --no-exclude -- npm run bootstrap:scss",
"watch:js": "onchange \"dev/*.js\" -- npm run build:js",
"local": "parallelshell \"npm run serve\" \"npm run watch:css\" \"npm run watch:js\" \"npm run watch:bootstrap:css\" "
},
"repository": {
"type": "git",
"url": "git+https://github.com/sugoidesune/JSrepl.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/sugoidesune/JSrepl/issues"
},
"homepage": "https://github.com/sugoidesune/JSrepl#readme",
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"autoprefixer": "^9.3.1",
"browser-sync": "^2.26.3",
"cli-error-notifier": "^2.0.1",
"eslint": "^5.8.0",
"imagemin-cli": "^3.0.0",
"node-sass": "^4.9.4",
"onchange": "^5.0.2",
"parallelshell": "^3.0.2",
"postcss-cli": "^6.0.1",
"uglify-js": "^3.4.9"
},
"babel": {
"presets": [ "@babel/preset-env" ]
},
"browserslist": [
"last 1 version",
"> 5%",
"maintained node versions",
"not dead"
],
"dependencies": {
"@babel/preset-env": "^7.2.3",
"bootstrap": "^4.1.3",
"monaco-editor": "^0.14.3"
}
}