-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
46 lines (46 loc) · 1.43 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
{
"name": "react-cool-hooks",
"version": "1.0.2",
"sideEffects": false,
"author": {
"email": "[email protected]",
"name": "Aleksey Skakun",
"url": "https://github.com/alex-skakun"
},
"repository": {
"url": "https://github.com/alex-skakun/react-cool-hooks"
},
"keywords": [
"useOnce",
"useFunction",
"usePropState"
],
"license": "MIT",
"config": {
"localRegistry": "http://localhost:4873"
},
"scripts": {
"test": "npx jest",
"test:coverage": "npx jest --coverage",
"build": "npm run build:cjs && npm run build:esm",
"prebuild": "rm -rf ./dist",
"postbuild": "node ./tools/completePackage.mjs",
"build:cjs": "echo 'Building CommonJS version' && tsc -p ./tsconfig.cjs.json --pretty",
"build:esm": "echo 'Building ESModule version' && tsc -p ./tsconfig.esm.json --pretty",
"prerelease": "npm run build",
"release": "npm publish ./dist --tag latest --access public",
"prerelease:dev": "npm run build && (npm unpublish --registry $npm_package_config_localRegistry --force || true)",
"release:dev": "npm publish ./dist --registry $npm_package_config_localRegistry"
},
"peerDependencies": {
"react": "16.x.x - 18.x.x"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@types/react": "^18.0.13",
"jest-environment-jsdom": "^28.1.1",
"ts-jest": "^28.0.5",
"typescript": "^4.7.3"
}
}