-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
60 lines (60 loc) · 3.75 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
{
"name": "Oniros",
"version": "0.7.0",
"description": "Athelas Wordpress Boilerplate",
"main": "gulpfile.js",
"scripts": {
"main:scss": "mkdir -p dist/css/main && node-sass --output-style nested --indent-type tab --indent-width 1 --source-map true -o dist/css/main source/scss/main/main.scss",
"main:scss:min": "mkdir -p dist/css/main && node-sass --output-style compressed source/scss/main/main.scss > dist/css/main/main.min.css",
"main:autoprefixer": "postcss -u autoprefixer -r dist/css/main/*.css",
"main:build:css": "npm run main:scss && npm run main:scss:min && npm run main:autoprefixer",
"login:scss": "mkdir -p dist/css/login && node-sass --output-style nested --indent-type tab --indent-width 1 --source-map true -o dist/css/login source/scss/login/login.scss",
"login:scss:min": "mkdir -p dist/css/login && node-sass --output-style compressed source/scss/login/login.scss > dist/css/login/login.min.css",
"login:autoprefixer": "postcss -u autoprefixer -r dist/css/login/*.css",
"login:build:css": "npm run login:scss && npm run login:scss:min && npm run login:autoprefixer",
"all:build:css": "parallelshell 'npm run main:build:css' 'npm run login:build:css' ",
"main:build:js": "mkdir -p dist/js && uglifyjs source/js/ajax-query.js source/js/app.js -m -c --name-cache /tmp/cache.json -o dist/js/app.min.js --lint --source-map dist/js/app.min.js.map",
"imagemin": "mkdir -p dist/img && imagemin source/img dist/img -p",
"favicon": "real-favicon generate faviconDescription.json faviconData.json .",
"serve": "browser-sync start --server --files 'dist/css/**/*.css, dist/js/**/*.js' --index static_site/index.html",
"watch:js": "onchange 'source/js/*.js' -- npm run all:build:js",
"watch:main:css": "onchange 'source/scss/main/**/*.scss' -- npm run main:build:css",
"watch:all:css": "onchange 'source/scss/**/*.scss' -- npm run all:build:css",
"prewatch:static": "exec-notify echo Watching and serving static_folder on your localhost:3000, it will pop open automatically",
"watch:main": "parallelshell 'npm run serve' 'npm run watch:main:css' 'npm run watch:js'",
"prewatch:main": "exec-notify echo Watching and serving main WP theme static files.",
"prewatch:all": "exec-notify echo Watching and serving all WP theme static files, including Login Area files.",
"watch:all": "parallelshell 'npm run watch:all:css' 'npm run watch:js'",
"prebuild:main:all": "exec-notify echo Building all Main project files: CSS & JavaScript",
"build:main:all": "parallelshell 'npm run main:build:js' 'npm run main:build:css' ",
"postbuild:main:all": "exec-notify echo All items build except for the Login files.",
"prebuild:all": "exec-notify echo Building all project files: CSS, JavaScript, Generating Favicons and optimizing images",
"build:all": "parallelshell 'npm run all:build:js' 'npm run all:build:css' 'npm run favicon' 'npm run imagemin' ",
"postbuild:all": "exec-notify echo All items build, maybe it would be a goog time to build the project zip? Remeber, its just npm run zip",
"zip": "bestzip oniros.zip *.php includes fonts dist bower_components style.css screenshot.png",
"postzip": "exec-notify echo Theme zip completed",
"oniros": "oniros"
},
"repository": {
"type": "git",
"url": ""
},
"author": "Athelas Peru",
"license": "Apache-2.0",
"devDependencies": {
"autoprefixer": "^6.3.3",
"browser-sync": "^2.11.1",
"cli-real-favicon": "0.0.5",
"exec-notify": "^0.1.3",
"imagemin-cli": "^2.1.0",
"node-sass": "^3.4.2",
"onchange": "^2.0.0",
"oniros_cli": "^0.4.2",
"parallelshell": "^2.0.0",
"postcss-cli": "^2.5.1",
"uglify-js": "^2.6.1",
"uncss": "^0.13.0"
},
"homepage": "http://www.athelas.pe/oniros",
"dependencies": {}
}