-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 2.18 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
{
"name": "fer-07-project",
"version": "1.0.0",
"description": "",
"main": "index.html",
"scripts": {
"init-project": "npm install && npm-run-all init:*",
"init:dirs": "mkdirp dist sass css vendor images js",
"init:files": "touch README.md index.html sass/style.scss js/script.js",
"init:gitignore": "curl https://raw.githubusercontent.com/github/gitignore/master/Node.gitignore -o .gitignore",
"init:gitignore:custom": "echo \"dist\" >> .gitignore",
"test": "npm-run-all test:*",
"test:html": "html-validate *.html",
"test:js": "eslint js/",
"test:scss": "stylelint sass/",
"build": "npm-run-all build:* test",
"build:clean": "rimraf dist && mkdirp dist",
"build:copy": "copyfiles \"js/**/*\" \"images/**/*\" \"vendor/**/*\" \"index.html\" dist",
"build:sass": "node-sass --output-style compact -o dist/css sass",
"build:autoprefixer": "postcss dist/css/*.css --use autoprefixer -d dist/css",
"build-dev": "npm-run-all build-dev:sass build:autoprefixer",
"build-dev:sass": "node-sass --output-style expanded --source-map true -o dist/css sass",
"watch": "npm-run-all build build-dev -p watch:*",
"watch:browsersync": "browser-sync start --server dist --files \"dist/**/*\" --ignore \"dist/db/**/*\"",
"watch:sassprefixer": "onchange \"sass/**/*.scss\" -- npm run build-dev",
"watch:copy": "onchange -e \"**/sass/**/*\" -e \"**/.gitkeep\" \"**/*\" -- copyfiles -a -u 1 {{changed}} dist"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"autoprefixer": "^10.2.4",
"browser-sync": "^2.26.3",
"copyfiles": "^2.1.0",
"eslint": "^5.14.1",
"globstar": "^1.0.0",
"html-validate": "^2.8.0",
"mkdirp": "^0.5.1",
"node-sass": "^4.11.0",
"npm-run-all": "^4.1.5",
"onchange": "^5.2.0",
"postcss": "^8.2.6",
"postcss-cli": "^8.3.1",
"rimraf": "^3.0.2",
"stylelint": "^9.10.1",
"stylelint-scss": "^3.19.0"
},
"dependencies": {
"flatpickr": "^4.6.9",
"json-server": "^0.16.3"
}
}