-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 2.76 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
{
"name": "androsaxon-website",
"version": "1.0.0",
"description": "Androsaxon website",
"config": {
"format": "-p [{name}] -n HTML,JS,CSS,ASSETS,PHP -c white.bgBlue.bold,white.bgRed.white.bold,white.bold.bgGreen,black.bgYellow.bold,yellow.bgBlue",
"serve_format": "-p [{name}] -n HTTP,RELOAD -c black.bgBlack.bold,red.bgWhite"
},
"os": [
"linux"
],
"engines": {
"npm": "3.10.10"
},
"scripts": {
"dev": "npm run dev:build; npm run dev:serve",
"dev:build": "npm run clean && concurrently $npm_package_config_format \"npm run html\" \"npm run js:dev\" \"npm run css:dev\" \"npm run assets\"",
"dev:serve": "npm run dev:watch & NODE_ENV=development concurrently $npm_package_config_serve_format \"node bin/server.js\" \"node bin/sync.js\"",
"dev:watch": "concurrently $npm_package_config_format \"npm run html:watch\" \"npm run js:watch\" \"npm run css:watch\" \"npm run assets:watch\" \"npm run php\"",
"prod": "npm run prod:build && npm run prod:serve",
"prod:build": "npm run clean && npm run html && npm run js && npm run css && npm run assets",
"prod:serve": "npm run php",
"html": "cp -R src/html/. dist/",
"html:watch": "chokidar \"src/html/**/*.{html,php}\" -c \"npm run html\"",
"css": "npm run css:lint && cleancss --compatibility ie8 --output dist/assets/css/main.css src/css/main.css",
"css:dev": "cleancss --compatibility ie8 --source-map --source-map-inline-sources --output dist/assets/css/main.css src/css/main.css",
"css:watch": "chokidar \"src/css/**/*.css\" -c \"npm run css:dev\"",
"css:lint": "csslint src/css/",
"js": "npm run js:lint && uglifyjs --compress -o dist/assets/js/main.js src/js/*.js",
"js:dev": "uglifyjs -b --source-map -v -o dist/assets/js/main.js src/js/*.js",
"js:watch": "chokidar \"src/js/**/*.js\" -c \"npm run js:dev\"",
"js:lint": "eslint src/js",
"assets": "cp -R src/assets/* dist/assets",
"assets:watch": "chokidar \"src/assets/**/*.*\" -c \"npm run assets\"",
"clean": "rm -rf dist && mkdir -p dist/assets/js && mkdir -p dist/assets/css",
"start": "npm run prod",
"test": "echo \"Error: no test specified\" && exit 0",
"php": "php -S 127.0.0.1:8000 -t dist"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]:androsaxon/website.git"
},
"author": "masque team",
"license": "SEE LICENSE IN LICENSE",
"bugs": {
"url": "https://github.com/androsaxon/website/issues"
},
"homepage": "http://androsaxon.co.uk",
"dependencies": {
"clean-css-cli": "^4.1.9",
"csslint": "^1.0.5",
"eslint": "^4.5.0",
"request": "^2.83.0",
"uglify-js": "^3.0.12"
},
"devDependencies": {
"browser-sync": "^2.18.12",
"express": "^4.15.3",
"chokidar-cli": "^1.2.0",
"concurrently": "^3.5.0"
}
}