-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.34 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": "tailwindui-job",
"version": "1.0.0",
"main": "index.js",
"author": "Mayke Freitas",
"license": "MIT",
"scripts": {
"lint": "eslint ./**/*.js",
"dev": "yarn build:dev && (yarn serve & yarn watch)",
"serve": "browser-sync start --host '0.0.0.0' --port 8080 --server 'public' --files 'public' --no-ui",
"watch:markup": "export SHELL=/bin/bash && chokidar 'src/**/*.{html,json}' -c 'yarn build:dev --markup'",
"watch:styles": "export SHELL=/bin/bash && chokidar 'src/**/*.css' -c 'yarn build:dev --styles'",
"watch": "yarn watch:markup & yarn watch:styles",
"build:dev": "node build --development",
"build:production": "NODE_ENV=production node build --production"
},
"devDependencies": {
"autoprefixer": "^9.8.0",
"browser-sync": "^2.26.7",
"chokidar-cli": "^2.1.0",
"cssnano": "^4.1.10",
"eslint": "^7.0.0",
"html-minifier": "^4.0.0",
"husky": ">=4",
"lint-staged": ">=10",
"postcss": "^7.0.30",
"posthtml": "^0.13.0",
"prettier": "2.0.5",
"tailwindcss": "^1.4.6"
},
"husky": {
"hooks": {
"pre-push": "yarn build:production",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --cache --fix",
"prettier --write",
"git add"
],
"*.{json,md}": [
"prettier --write",
"git add"
]
}
}