generated from awibox/react-npm-package-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 2.54 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
{
"name": "react-promise-loader",
"version": "1.2.0",
"description": "This is a NPM package with a component for React that will help you display the loader at use react-promise-tracker",
"main": "./dist/index.js",
"scripts": {
"build": "webpack --mode production",
"lint": "eslint --report-unused-disable-directives src",
"fix": "eslint --fix --report-unused-disable-directives src",
"test": "jest --coverage",
"setup": "cp ./.github/hooks/pre-commit ./.git/hooks/pre-commit && chmod +x ./.git/hooks/pre-commit",
"semantic-release": "semantic-release"
},
"repository": {
"type": "git",
"url": "https://github.com/awibox/react-promise-loader.git"
},
"keywords": [
"react-component",
"npm-package",
"loader-component",
"loader",
"promise-tracker"
],
"author": "awibox",
"license": "MIT",
"bugs": {
"url": "https://github.com/awibox/react-promise-loader/issues"
},
"homepage": "https://github.com/awibox/react-promise-loader#readme",
"devDependencies": {
"@babel/core": "^7.8.7",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.3",
"babel-loader": "8.2.5",
"coveralls": "^3.1.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.4.3",
"eslint": "^7.5.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-react": "^7.17.0",
"jest": "^28.1.1",
"jest-css-modules-transform": "^4.0.0",
"jest-enzyme": "^7.1.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"semantic-release": "^17.4.1",
"webpack": "^5.5.0",
"webpack-cli": "^4.1.0"
},
"dependencies": {
"prop-types": "^15.7.2"
},
"peerDependencies": {
"react": "^17.0.1",
"react-dom": "^17.0.1"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,mjs}",
"!src/index.js"
],
"testEnvironment": "node",
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleDirectories": [
"node_modules",
"src"
],
"setupFilesAfterEnv": [
"<rootDir>/node_modules/jest-enzyme/lib/index.js",
"<rootDir>/jest-setup-tests.js"
],
"transform": {
"^.+\\.js$": "babel-jest",
".+\\.(css|styl|less|sass|scss)$": "<rootDir>/node_modules/jest-css-modules-transform"
}
},
"exports": false
}