|
1 | 1 | {
|
2 | 2 | "name": "@synvox/rehook",
|
3 | 3 | "public": true,
|
4 |
| - "version": "0.0.14", |
5 |
| - "main": "dist/rehook.js", |
6 |
| - "umd:main": "dist/rehook.umd.js", |
7 |
| - "source": "src/rehook/index.js", |
8 |
| - "types": "dist/rehook.d.ts", |
| 4 | + "version": "0.0.16", |
| 5 | + "main": "dist/index.js", |
9 | 6 | "devDependencies": {
|
| 7 | + "@babel/cli": "^7.1.5", |
| 8 | + "@babel/preset-env": "^7.1.6", |
| 9 | + "@babel/preset-react": "^7.0.0", |
10 | 10 | "@otris/jsdoc-tsd": "^1.0.4",
|
| 11 | + "@types/jest": "^24.0.11", |
11 | 12 | "babel-eslint": "9.0.0",
|
12 | 13 | "enzyme": "^3.7.0",
|
13 | 14 | "enzyme-adapter-react-16": "^1.6.0",
|
|
24 | 25 | "eslint-plugin-standard": "^4.0.0",
|
25 | 26 | "husky": "^1.1.3",
|
26 | 27 | "jsdoc": "^3.5.5",
|
27 |
| - "microbundle": "^0.7.0", |
28 | 28 | "prettier": "1.14.3",
|
29 |
| - "react": "^16.7.0-alpha.0", |
30 |
| - "react-dom": "^16.7.0-alpha.0", |
| 29 | + "react": "^16.8.6", |
| 30 | + "react-dom": "^16.8.6", |
31 | 31 | "react-scripts": "2.1.0",
|
32 |
| - "rollup": "^0.67.1", |
33 |
| - "rollup-plugin-babel": "^4.0.3", |
34 |
| - "rollup-plugin-commonjs": "^9.2.0", |
35 |
| - "rollup-plugin-node-resolve": "^3.4.0", |
36 |
| - "rollup-plugin-replace": "^2.1.0", |
37 |
| - "rollup-plugin-uglify": "^6.0.0" |
| 32 | + "tsc": "^1.20150623.0" |
38 | 33 | },
|
39 | 34 | "peerDependencies": {
|
40 |
| - "react": "^16.7.0-alpha.0", |
41 |
| - "react-dom": "^16.7.0-alpha.0" |
| 35 | + "react": "^16.8.6", |
| 36 | + "react-dom": "^16.8.6" |
42 | 37 | },
|
43 | 38 | "scripts": {
|
44 | 39 | "start": "react-scripts start",
|
45 |
| - "build": "react-scripts build", |
| 40 | + "build:cra": "react-scripts build", |
46 | 41 | "test:eslint": "eslint src --fix",
|
47 | 42 | "test:jest": "react-scripts test",
|
48 | 43 | "test": "CI=true npm run test:eslint && CI=true npm run test:jest --findRelatedTests",
|
49 | 44 | "eject": "react-scripts eject",
|
50 |
| - "build:bundle": "NODE_ENV='production' rollup --config rollup.config.js", |
| 45 | + "build": "npm run build:bundle && npm run build:types && npm run build:package", |
| 46 | + "build:bundle": "NODE_ENV='production' babel -s -d ./dist/ ./src/rehook", |
| 47 | + "build:package": "cp ./README.md dist/README.md && cp ./package.json dist/package.json", |
51 | 48 | "build:types": "jsdoc -t node_modules/@otris/jsdoc-tsd -r ./src/rehook -d dist/rehook.d.ts",
|
52 |
| - "prepublish": "npm run build:bundle && npm run build:types" |
| 49 | + "pub": "npm run build && npm publish" |
53 | 50 | },
|
54 | 51 | "browserslist": [
|
55 | 52 | ">0.2%",
|
|
0 commit comments