|
8 | 8 | }, |
9 | 9 | "main": "build/index.js", |
10 | 10 | "module": "build/index.es.js", |
| 11 | + "sideEffects": false, |
11 | 12 | "types": "build/index.d.ts", |
12 | 13 | "files": [ |
13 | 14 | "build" |
|
21 | 22 | "stylelint-all": "stylelint src/**/*.styled.{js,ts}", |
22 | 23 | "typecheck": "tsc", |
23 | 24 | "test": "npm run lint && npm run typecheck && npm run jest", |
24 | | - "jest": "jest", |
25 | | - "jest:watch": "jest --watch", |
26 | | - "build": "rollup -c", |
| 25 | + "jest": "cross-env BABEL_ENV=test jest", |
| 26 | + "jest:watch": "cross-env BABEL_ENV=test jest --watch", |
| 27 | + "build": "cross-env BABEL_ENV=build rollup -c", |
| 28 | + "prebuild": "npm run typecheck", |
27 | 29 | "prepublishOnly": "npm run build", |
28 | 30 | "build:storybook": "build-storybook", |
29 | 31 | "build:icon": "./scripts/build-icon.sh", |
|
54 | 56 | ], |
55 | 57 | "author": "", |
56 | 58 | "license": "ISC", |
| 59 | + "browserslist": [ |
| 60 | + "ie >= 11", |
| 61 | + "> 1% in KR", |
| 62 | + "> 1% in JP", |
| 63 | + "> 1% in US" |
| 64 | + ], |
57 | 65 | "devDependencies": { |
58 | | - "@babel/core": "^7.9.6", |
| 66 | + "@babel/core": "^7.10.5", |
| 67 | + "@babel/preset-env": "^7.10.4", |
| 68 | + "@babel/preset-react": "^7.10.4", |
| 69 | + "@babel/preset-typescript": "^7.10.4", |
59 | 70 | "@channel.io/eslint-config": "^1.0.5", |
60 | 71 | "@channel.io/stylelint-config": "^1.1.0", |
61 | | - "@rollup/plugin-commonjs": "^11.1.0", |
| 72 | + "@rollup/plugin-babel": "^5.1.0", |
| 73 | + "@rollup/plugin-commonjs": "^11.0.2", |
62 | 74 | "@rollup/plugin-node-resolve": "^7.1.3", |
63 | 75 | "@storybook/addon-actions": "^5.3.19", |
64 | 76 | "@storybook/addon-knobs": "^5.3.19", |
|
70 | 82 | "@testing-library/jest-dom": "^5.5.0", |
71 | 83 | "@testing-library/react": "^10.0.4", |
72 | 84 | "@types/jest": "^25.2.1", |
73 | | - "@types/lodash": "^4.14.155", |
| 85 | + "@types/lodash-es": "^4.17.3", |
74 | 86 | "@types/react": "^16.9.34", |
75 | 87 | "@types/styled-components": "^5.1.0", |
76 | 88 | "@typescript-eslint/eslint-plugin": "^2.34.0", |
77 | 89 | "@typescript-eslint/parser": "^2.34.0", |
78 | 90 | "babel-eslint": "^8.2.6", |
79 | | - "babel-jest": "^26.0.1", |
| 91 | + "babel-jest": "^26.2.2", |
80 | 92 | "babel-loader": "^8.1.0", |
81 | 93 | "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", |
82 | 94 | "babel-preset-react-app": "^9.1.2", |
| 95 | + "cross-env": "^7.0.2", |
83 | 96 | "eslint": "^5.16.0", |
84 | 97 | "eslint-config-airbnb-typescript": "^4.0.1", |
85 | 98 | "eslint-import-resolver-webpack": "^0.10.1", |
|
93 | 106 | "identity-obj-proxy": "^3.0.0", |
94 | 107 | "jest": "^26.0.1", |
95 | 108 | "lint-staged": "^10.2.10", |
96 | | - "lodash": "^4.17.15", |
97 | 109 | "react": "^16.13.1", |
98 | 110 | "react-dom": "^16.13.1", |
99 | 111 | "regenerator-runtime": "^0.13.5", |
100 | 112 | "rollup": "^2.8.2", |
101 | 113 | "rollup-plugin-peer-deps-external": "^2.2.2", |
102 | | - "rollup-plugin-typescript2": "^0.27.0", |
103 | 114 | "styled-components": "^5.1.0", |
104 | 115 | "stylelint": "^13.6.0", |
105 | | - "ts-jest": "^25.5.0", |
106 | 116 | "ts-node": "^8.10.2", |
107 | 117 | "typescript": "^3.8.3" |
108 | 118 | }, |
109 | 119 | "peerDependencies": { |
110 | 120 | "react": ">=16.8.0", |
111 | 121 | "react-dom": ">=16.8.0", |
112 | 122 | "styled-components": ">=5" |
| 123 | + }, |
| 124 | + "dependencies": { |
| 125 | + "lodash-es": "^4.17.15" |
113 | 126 | } |
114 | 127 | } |
0 commit comments