This repository has been archived by the owner on Sep 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
60 lines (60 loc) · 1.71 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
53
54
55
56
57
58
59
60
{
"name": "@wegotpop/styleguide",
"version": "1.11.0",
"license": "MIT",
"files": [
"css/*.css"
],
"repository": {
"type": "git",
"url": "https://github.com/wegotpop/styleguide.git"
},
"scripts": {
"format": "yarn format:js && yarn format:css && yarn format:md && yarn format:html",
"format:js": "prettier ./*.js --write",
"format:css": "prettier **/*.css --parser=css --write",
"format:md": "prettier **/*.md --parser=markdown --write",
"format:html": "prettier index.html --parser=html --write",
"dev": "parcel index.html --no-cache",
"precommit": "lint-staged",
"build": "rm -rf dist && parcel build index.html --dist-dir dist --public-url /styleguide/ && cp 404.html ./dist/404.html",
"compile": "postcss -m -u postcss-partial-import -u postcss-modules -u cssnano -d build css/global.css"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/plugin-proposal-object-rest-spread": "^7.16.0",
"@babel/plugin-transform-spread": "^7.16.0",
"babel-plugin-inline-react-svg": "^2.0.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"classname": "^0.0.0",
"cssnano": "^5.0.11",
"husky": "^7.0.4",
"lint-staged": "^12.1.2",
"parcel": "^2.6.1",
"postcss": "^8.4.0",
"postcss-cli": "^9.0.2",
"postcss-modules": "^4.2.2",
"postcss-partial-import": "^4.1.0",
"prettier": "^2.4.1",
"react": "^17.0.2",
"react-color": "^2.19.3",
"react-dom": "^17.0.2"
},
"prettier": {
"singleQuote": true
},
"lint-staged": {
"*.js": [
"yarn format:js",
"git add"
],
"*.css": [
"yarn format:css",
"git add"
],
"*.md": [
"yarn format:md",
"git add"
]
}
}