forked from CagriAldemir/react-cache-buster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.75 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
{
"name": "react-cache-buster",
"version": "0.2.0",
"description": "This package allows clients to automatically check the new version when a new version is released in the production environment, and if a new version is published, clearing the cache and reload the page.",
"author": "CagriAldemir",
"license": "MIT",
"repository": "CagriAldemir/react-cache-buster",
"keywords": [
"react",
"cache-busting",
"production",
"clean-build"
],
"main": "dist/index.js",
"module": "dist/index.modern.js",
"source": "src/*.js",
"exports": {
".": "./index.js"
},
"engines": {
"node": ">=10"
},
"scripts": {
"build": "microbundle-crl --no-compress --no-sourcemap --format modern,cjs",
"start": "microbundle-crl watch --no-compress --no-sourcemap --format modern,cjs",
"prepublishOnly": "npm run build",
"test": "npm run test:unit && npm run test:lint && npm run test:build",
"test:build": "npm run build",
"test:lint": "eslint .",
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"predeploy": "cd example && npm install && npm run build",
"deploy": "gh-pages -d example/build",
"buildTypes": "tsc ./src/*.js --declaration --allowJs --emitDeclarationOnly --outDir dist"
},
"peerDependencies": {
"react": "^16.14.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"cross-env": "^7.0.2",
"eslint": "^8.41.0",
"gh-pages": "^6.0.0",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "^5.0.1"
},
"files": [
"dist"
],
"dependencies": {
"date-fns": "^2.30.0",
"microbundle-crl": "^0.13.10",
"prop-types": "^15.8.1"
}
}