|
1 | 1 | { |
2 | 2 | "name": "react-daum-postcode", |
3 | | - "version": "3.1.1", |
| 3 | + "version": "3.1.3", |
4 | 4 | "description": "Daum Postcode service for React", |
5 | | - "main": "./lib/index.js", |
| 5 | + "main": "./lib/index.cjs.js", |
6 | 6 | "types": "./lib/index.d.ts", |
| 7 | + "module": "./lib/index.esm.js", |
7 | 8 | "files": [ |
8 | 9 | "lib" |
9 | 10 | ], |
10 | 11 | "scripts": { |
11 | | - "build": "concurrently \"yarn:build:*\"", |
12 | | - "build:babel": "babel src -d lib --extensions \".ts,.tsx\"", |
13 | | - "build:types": "tsc --declarationDir lib" |
| 12 | + "build": "rollup -c" |
14 | 13 | }, |
15 | 14 | "author": "kimminsik-bernard", |
16 | 15 | "contributors": [ |
|
45 | 44 | { |
46 | 45 | "name": "TaeSang Cho", |
47 | 46 | "url": "https://github.com/Web-Engine" |
| 47 | + }, |
| 48 | + { |
| 49 | + "name": "HK1211", |
| 50 | + "url": "https://github.com/HK1211" |
48 | 51 | } |
49 | 52 | ], |
50 | 53 | "repository": { |
|
69 | 72 | "@babel/preset-env": "^7.14.9", |
70 | 73 | "@babel/preset-react": "^7.14.5", |
71 | 74 | "@babel/preset-typescript": "^7.14.5", |
| 75 | + "@rollup/plugin-babel": "^6.0.4", |
| 76 | + "@rollup/plugin-terser": "^0.4.4", |
| 77 | + "@rollup/plugin-typescript": "^12.1.1", |
72 | 78 | "@types/react": "^17.0.15", |
73 | 79 | "@typescript-eslint/eslint-plugin": "^4.29.0", |
74 | 80 | "@typescript-eslint/parser": "^4.29.0", |
75 | | - "babel-preset-minify": "^0.5.1", |
76 | 81 | "concurrently": "^6.2.0", |
77 | 82 | "eslint": "^7.32.0", |
78 | 83 | "eslint-config-airbnb": "^18.2.1", |
|
82 | 87 | "eslint-plugin-prettier": "^3.4.0", |
83 | 88 | "eslint-plugin-react": "^7.24.0", |
84 | 89 | "eslint-plugin-react-hooks": "^4.2.0", |
| 90 | + "rollup": "^4.28.1", |
85 | 91 | "typescript": "^4.3.5" |
86 | 92 | } |
87 | 93 | } |
0 commit comments