-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
132 lines (132 loc) · 3.92 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "react-css-spinners",
"version": "4.0.2",
"description": "CSS-only spinners for React",
"author": "Alex",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/esm/index.js",
"unpkg": "dist/bundle.min.js",
"types": "src/index.ts",
"sideEffects": [
"*.css"
],
"files": [
"dist",
"src"
],
"repository": {
"type": "git",
"url": "https://github.com/alex996/react-css-spinners.git"
},
"keywords": [
"react",
"css",
"spinners"
],
"bugs": {
"url": "https://github.com/alex996/react-css-spinners/issues"
},
"homepage": "https://alex996.github.io/react-css-spinners/",
"scripts": {
"commit": "git-cz",
"prebuild": "rm -rf dist",
"build": "run-p compile:* bundle",
"compile": "babel src --extensions '.ts,.tsx' --ignore '**/*.test.tsx,**/*.test.ts,**/*.story.tsx'",
"compile:cjs": "npm run compile -- --out-dir dist",
"compile:esm": "BABEL_ENV=esm npm run compile -- --out-dir dist/esm",
"bundle": "rollup -c",
"postbuild": "run-p copy:*",
"copy": "rsync -zarvm --include='*/' --include='*.css' --exclude='*' src/",
"copy:cjs": "npm run copy dist",
"copy:esm": "npm run copy dist/esm",
"lint": "eslint '**/*.{js,ts,tsx}'",
"lint:fix": "npm run lint -- --fix",
"format": "prettier '**/*.{js,ts,tsx}' --write",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:coveralls": "jest --coverage --coverageReporters=text-lcov | coveralls",
"test:staged": "jest --findRelatedTests",
"storybook": "start-storybook -c storybook",
"prestorybook:build": "rm -rf storybook-static",
"storybook:build": "build-storybook -c storybook",
"storybook:serve": "serve storybook-static",
"predeploy": "npm run storybook:build",
"deploy": "gh-pages -d storybook-static",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.4",
"@babel/plugin-transform-runtime": "^7.11.0",
"@babel/preset-env": "^7.11.0",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@storybook/addon-info": "^6.0.0-alpha.2",
"@storybook/addon-knobs": "^6.0.20",
"@storybook/addons": "^6.0.20",
"@storybook/react": "^6.0.20",
"@storybook/theming": "^6.0.20",
"@types/jest": "^26.0.10",
"@types/react": "^16.9.48",
"@types/react-dom": "^16.9.8",
"@types/react-test-renderer": "^16.9.3",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"babel-jest": "^26.3.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"commitizen": "^4.2.1",
"coveralls": "^3.1.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.7.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.20.6",
"gh-pages": "^3.1.0",
"husky": "^4.2.5",
"jest": "^26.4.2",
"lint-staged": "^10.2.13",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.1",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-test-renderer": "^16.13.1",
"rollup": "^2.26.7",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^3.1.6",
"rollup-plugin-terser": "^7.0.1",
"serve": "^11.3.2",
"typescript": "^4.0.2"
},
"peerDependencies": {
"@babel/runtime": ">=7.11",
"prop-types": ">=15",
"react": ">=16.13"
},
"engines": {
"node": ">=10"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"npm run lint:fix",
"npm run test:staged"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}