|
1 | 1 | { |
2 | 2 | "name": "react-http-fetch", |
3 | | - "version": "1.0.0-beta.1", |
| 3 | + "version": "1.0.0-beta.3", |
4 | 4 | "description": "An http library for React JS built on top of native JS fetch", |
5 | 5 | "main": "index.js", |
6 | 6 | "module": "./lib/esm/index.js", |
|
41 | 41 | "react-dom": "^17.0.2", |
42 | 42 | "react-hooks-testing-library": "^0.6.0", |
43 | 43 | "release-it": "^14.11.6", |
| 44 | + "shelljs": "^0.8.4", |
| 45 | + "shx": "^0.3.3", |
44 | 46 | "ts-jest": "^27.0.5", |
45 | 47 | "typescript": "^4.4.3" |
46 | 48 | }, |
47 | 49 | "scripts": { |
| 50 | + "before-release-init": "node ./bin/before-release-init.mjs", |
48 | 51 | "build": "yarn build:esm && yarn build:cjs", |
49 | 52 | "build:prod": "yarn build:prod:esm && yarn build:prod:cjs", |
50 | 53 | "build:watch": "yarn build:esm -w && yarn build:cjs -w", |
51 | 54 | "build:esm": "tsc", |
52 | 55 | "build:cjs": "tsc --module commonjs --outDir lib/cjs", |
53 | 56 | "build:prod:esm": "tsc -p tsconfig.prod.json", |
54 | 57 | "build:prod:cjs": "tsc -p tsconfig.prod.json --module commonjs --outDir lib/cjs", |
| 58 | + "clean-build": "shx rm -rf lib", |
55 | 59 | "changelog": "auto-changelog -p --template ./changelog.template.hbs", |
56 | 60 | "prepare": "husky install", |
57 | 61 | "pre-commit": "lint-staged", |
|
0 commit comments