This repository has been archived by the owner on May 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (47 loc) · 2.29 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
{
"name": "style-patterns",
"private": true,
"version": "0.0.0",
"author": "Jonas Fischer-Maeck <[email protected]> (https://www.jonasfischer.net)",
"license": "MIT",
"scripts": {
"start": "npm run dev",
"dev": "npm-run-all build --parallel dev-server watch",
"build": "npm-run-all build:* lint",
"watch": "npm-run-all --parallel watch:* lint",
"lint": "npm-run-all lint:*",
"build:clean": "rimraf dist",
"build:copy-assets": "copyfiles -u 1 'src/layout.html' 'src/assets/**/*' dist",
"watch:copy-assets": "chokidar 'src/layout.html' src/assets/**/* -c 'npm run build:copy-assets' --polling --poll-interval 1000",
"build:svg-icons": "svg-sprite --config ./svg-sprite.config.json --dest=dist src/assets/icons/*.svg",
"watch:svg-icons": "chokidar src/assets/icons/*.svg -c 'npm run build:svg-icons' --polling --poll-interval 1000",
"build:sass": "node-sass src/ -o dist && postcss 'dist/**/*.css' -u autoprefixer --map -u cssnano -d dist -b dist",
"watch:sass": "chokidar src/*.scss src/**/*.scss -c 'npm-run-all --parallel lint:sass build:sass' --polling",
"lint:sass": "sass-lint --config ./.sass-lint.yml 'src/**/*.scss' --verbose --no-exit",
"format:sass": "prettier --config ./.prettierrc --write ',./**/*.scss'",
"build:styleguide": "styledown src/components/*.md ./styleguide-config.md > dist/index.tmp && mv dist/index.tmp dist/index.html && copyfiles node_modules/styledown/data/styledown.js -u 3 dist/",
"watch:styleguide": "chokidar styleguide-config.md src/*.md src/**/*.md -c 'npm-run-all --sequential build:styleguide lint:styleguide' --polling",
"lint:styleguide": "htmlhint --config ./.htmlhintrc 'dist/**/*.html'",
"dev-server": "browser-sync start --config ./browser-sync.config.json",
"deploy": "npm run build && node tasks/deploy.js"
},
"dependencies": {},
"devDependencies": {
"autoprefixer": "^9.1.5",
"browser-sync": "^2.24.7",
"chokidar-cli": "^1.2.1",
"copyfiles": "^2.1.0",
"cssnano": "^4.1.7",
"gh-pages": "^2.0.1",
"htmlhint": "^0.10.1",
"htmlhint-stylish": "^1.0.3",
"node-sass": "^4.9.3",
"npm-run-all": "^4.1.3",
"postcss-cli": "^6.0.0",
"prettier": "^1.15.3",
"rimraf": "^2.6.2",
"sass-lint": "^1.12.1",
"styledown": "^1.0",
"svg-sprite": "^1.5.0"
}
}