-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
127 lines (127 loc) · 3.8 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
{
"name": "react-loading-io",
"version": "2.2.1",
"description": "CSS-only spinners of loading.io for React",
"main": "dist/index.js",
"module": "dist/esm/index.js",
"unpkg": "dist/bundle.min.js",
"types": "src/index.ts",
"sideEffects": [
"*.css"
],
"files": [
"dist"
],
"scripts": {
"commit": "git-cz",
"prebuild": "rm -rf dist",
"build": "run-p compile:* bundle",
"compile": "babel src --extensions '.ts,.tsx' --ignore '**/*.test.tsx' --ignore '**/*.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",
"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"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"npm run lint:fix",
"npm run test:staged",
"git add"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"repository": "https://github.com/imkrunal/react-loading-io.git",
"keywords": [
"react",
"css",
"spinners"
],
"author": "Krunal Shah",
"license": "MIT",
"bugs": {
"url": "https://github.com/imkrunal/react-loading-io"
},
"homepage": "https://imkrunal.github.io/react-loading-io",
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@storybook/addon-knobs": "^5.1.10",
"@storybook/react": "^5.1.10",
"@types/jest": "^24.0.16",
"@types/react": "^16.8.24",
"@types/react-dom": "^16.8.5",
"@types/react-test-renderer": "^16.8.3",
"@types/storybook__addon-knobs": "^5.0.3",
"@types/storybook__react": "^4.0.2",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.6",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"commitizen": "^4.0.3",
"coveralls": "^3.0.5",
"cz-conventional-changelog": "^3.0.2",
"eslint": "^6.1.0",
"eslint-config-standard": "^13.0.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.14.1",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-standard": "^4.0.0",
"gh-pages": "^2.1.0",
"husky": "^3.0.2",
"jest": "^24.8.0",
"lint-staged": "^9.2.1",
"npm-run-all": "^4.1.5",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-test-renderer": "^16.8.6",
"rollup": "^1.18.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^2.0.3",
"rollup-plugin-terser": "^5.1.1",
"serve": "^11.1.0",
"typescript": "^3.5.3"
},
"peerDependencies": {
"@babel/runtime": ">=7.5",
"prop-types": ">=15",
"react": ">=16.2"
},
"engines": {
"node": ">=8"
}
}