-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
88 lines (88 loc) · 2.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
{
"name": "react-promise-tracker",
"version": "2.1.1",
"description": "Simple React Promise tracker Hook/HOC helper to add loading spinner indicators",
"keywords": [
"react",
"promise",
"tracker",
"track",
"hook",
"hoc",
"higher order component",
"spinner",
"component"
],
"homepage": "https://github.com/Lemoncode/react-promise-tracker#readme",
"bugs": {
"url": "https://github.com/Lemoncode/react-promise-tracker/issues"
},
"license": "MIT",
"author": "Lemoncode",
"contributors": [
"Braulio Diez <[email protected]> (https://github.com/brauliodiez)",
"Javier Calzado <[email protected] > (https://github.com/fjcalzado)",
"Daniel Sanchez <[email protected]> (https://github.com/nasdan)",
"Alejandro Rosa <> (https://github.com/arp82)"
],
"files": [
"dist",
"es",
"lib",
"index.d.ts",
"LICENSE.txt",
"package.json",
"readme.md"
],
"browser": "lib/index.js",
"main": "lib/index.js",
"types": "index.d.ts",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/Lemoncode/react-promise-tracker.git"
},
"scripts": {
"clean": "rimraf build/*",
"build": "npm run clean && npm run build:lib && npm run build:es && npm run build:dist:prod && npm run build:copy",
"build:lib": "cross-env BABEL_ENV=es5_cjs babel src --out-dir build/lib --ignore 'src/**/*.spec.js,src/**/*.test.js'",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir build/es --ignore 'src/**/*.spec.js,src/**/*.test.js'",
"build:dist:prod": "cross-env BABEL_ENV=umd webpack --config ./config/webpack/webpack.prod.js",
"build:dist:dev": "cross-env BABEL_ENV=umd webpack --config ./config/webpack/webpack.dev.js",
"build:copy": "copyfiles package.json readme.md LICENSE.txt build && copyfiles \"./src/**/*.d.ts\" -u 1 build",
"test": "cross-env NODE_ENV=test jest -c ./config/test/jest.js",
"test:watch": "npm run test -- --watchAll -i",
"prepare": "husky install"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.6",
"@babel/preset-env": "^7.19.4",
"@babel/preset-react": "^7.18.6",
"@babel/register": "^7.18.9",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"babel-loader": "^9.0.1",
"compression-webpack-plugin": "^10.0.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"jest": "^29.2.2",
"jest-environment-jsdom": "^29.2.2",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"regenerator-runtime": "^0.13.10",
"rimraf": "^3.0.2",
"webpack": "^5.74.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^4.10.0",
"webpack-merge": "^5.8.0",
"husky": "^7.0.0"
}
}