-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 1.45 KB
/
package.json
File metadata and controls
41 lines (41 loc) · 1.45 KB
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
{
"name": "ez",
"version": "1.0.0",
"description": "Customized npm script used as a slim front-end web development tool task runner comparable with Gulp or Grunt.",
"main": "index.html",
"scripts": {
"lint": "eslint src/js/*.js",
"autoprefixer": "postcss -u autoprefixer --autoprefixer.browsers '> 5%, ie 9' -r dest/assets/css/*",
"build:html": "cp src/*.html dest/",
"build:js": "browserify src/js/* | uglifyjs -mc > dest/assets/js/script.js",
"build:css": "node-sass --output-style compressed src/scss/styles.scss -o dest/assets/css/ && npm run autoprefixer",
"prebuild": "npm run lint",
"build": "npm run build:html && npm run build:css && npm run build:js",
"watch:js": "onchange 'src/js/**/*.js' -- run-s build:js",
"watch:css": "onchange 'src/**/*.scss' -- run-s build:css",
"watch:html": "onchange 'src/**/*.html' -- run-s build:html",
"watch": "npm run watch:html & npm run watch:js & npm run watch:css",
"start": "npm run build && npm run watch"
},
"keywords": [
"indie",
"game",
"studio",
"belgium"
],
"author": "Frieder Jan Moerman @hardcodepunk",
"license": "MIT",
"devDependencies": {
"autoprefixer": "^7.2.3",
"browserify": "^14.5.0",
"eslint": "^4.13.0",
"node-sass": "^4.7.2",
"npm": "^5.6.0",
"npm-run-all": "^4.1.2",
"onchange": "^3.3.0",
"postcss-cli": "^4.1.1",
"uglify-es": "^3.3.2",
"uglify-js": "^3.2.2"
},
"dependencies": {}
}