forked from shinze/microalg-IDE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.19 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
{
"name": "microalgide",
"version": "0.0.1",
"description": "An IDE for MicroAlg syntax",
"main": "index.js",
"scripts": {
"prestart": "npm run clean && mkdir ./dist",
"build": "npm run clean && npm run pug && npm run copy:*",
"start": "concurrently 'npm run pug:watch' 'npm run css:watch' 'npm run serve'",
"clean": "rm -rf ./dist",
"pug": "pug ./src/views --out ./dist",
"pug:watch": "npm run pug -- -w",
"css": "postcss ./src/css/*.css -d ./dist --use cssnano --no-map",
"css:watch": "npm run css -- --watch",
"copy": "npm run copy:*",
"copy:js": "cp ./src/js/*.* ./dist/",
"serve": "browser-sync start --server 'dist' --files 'dist'"
},
"postcss": {
"use": [
"postcss-cssnano"
],
"input": "./src/css/*.css",
"output": "./dist/",
"autoprefixer": {
"browsers": "last 2 versions"
},
"cssnano": {
"rules": {}
},
"cssnext": {}
},
"author": "@shinze",
"license": "MIT",
"devDependencies": {
"browser-sync": "^2.18.8",
"cssnano": "^3.10.0",
"less": "^2.7.2",
"postcss-cli": "^3.2.0",
"postcss-cssnext": "^2.10.0",
"pug": "^2.0.0-beta11",
"pug-cli": "^1.0.0-alpha6"
}
}