-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.7 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
{
"name": "realzapoteca",
"version": "1.1.1",
"description": "Primary landing page for Real Zapoteca",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/RealZapoteca/coming-soon-landing-page.git"
},
"dependencies": {
"animejs": "^2.2.0",
"imagesloaded": "^4.1.4",
"normalize.css": "^7.0.0"
},
"devDependencies": {
"autoprefixer": "latest",
"browserify": "latest",
"copyfiles": "^2.4.1",
"cssnano": "latest",
"jshint": "latest",
"mocha": "latest",
"postcss": "latest",
"postcss-cli": "latest",
"sass": "latest",
"svgo": "latest",
"ts-node": "latest",
"uglify-js": "latest",
"watch": "^0.13.0"
},
"scripts": {
"clean": "[ -d 'dist/' ] && rm -rf dist/css/ && rm -rf dist/js/ && rm -rf dist/img/ || echo 'Something went wrong'",
"lint": "jshint src/scripts",
"images": "svgo -q --multipass -f src/images/ -o dist/img/ && copyfiles -f src/images/*.png src/images/*.jpg dist/img/",
"prebuild": "npm run clean && mkdir dist/css dist/js dist/img",
"prebuild:css": "sass src/styles:dist/css --style=expanded --charset --source-map --embed-sources",
"build:css": "postcss --use autoprefixer < dist/css/main.css | postcss --use cssnano --no-map > dist/css/main.min.css",
"prebuild:js": "npm run lint",
"build:js": "browserify src/scripts/index.js > dist/js/main.js && uglifyjs dist/js/main.js -o dist/js/main.min.js -c -m",
"build": "npm run build:css && npm run build:js && npm run images && cp src/index.html dist/index.html",
"build:watch": "watch 'npm run build' .",
"test": "mocha test/"
},
"keywords": [
"mezcal"
],
"author": "Alexander Bell",
"license": "UNLICENSED"
}