-
Notifications
You must be signed in to change notification settings - Fork 253
/
package.json
55 lines (55 loc) · 1.73 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
{
"name": "@jh3y/whirl",
"version": "2.0.2",
"description": "CSS loading animations with minimal effort",
"author": "jh3y <jhey.dev>",
"license": "MIT",
"bugs": {
"url": "https://github.com/jh3y/whirl/issues"
},
"homepage": "https://whirl.netlify.com",
"dependencies": {
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-hooks": "^1.3.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.4",
"mathsass": "^0.10.1",
"node-sass": "^4.14.1",
"prettier": "^1.16.4",
"react": "^16.8.3",
"react-dom": "^16.8.3",
"react-scripts": "2.1.5",
"stylelint": "^11.0.0",
"stylelint-config-recommended-scss": "^4.0.0",
"stylelint-scss": "^3.11.1"
},
"scripts": {
"prepublish": "yarn publish-package",
"postpublish": "rm -rf dist css sass",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "yarn lint",
"eject": "react-scripts eject",
"add-whirl": "node utils/add-whirl",
"publish-package": "export FOR_PACKAGE=true && mkdir -pv css && cp -rf src/whirls sass && node utils/publish",
"publish-css": "export FOR_PACKAGE=false && mkdir -pv dist/css && cp -rf src/whirls dist/sass && cp README.md dist/README.md && node utils/publish",
"precommit": "lint-staged",
"lint": "yarn lint:scripts && yarn lint:whirls",
"lint:scripts": "eslint src",
"lint:whirls": "stylelint 'src/**/*.scss' --syntax scss"
},
"lint-staged": {
"src/**/*.js": [
"eslint",
"prettier --write",
"git add"
],
"src/**/*.scss": [
"stylelint --syntax=scss --fix",
"git add"
]
}
}