|
11 | 11 | }, |
12 | 12 | "babel": { |
13 | 13 | "presets": [ |
14 | | - "react", |
15 | | - "env", |
16 | | - "stage-0" |
| 14 | + "@babel/preset-react", |
| 15 | + "@babel/preset-env" |
| 16 | + ], |
| 17 | + "plugins": [ |
| 18 | + "@babel/plugin-syntax-dynamic-import", |
| 19 | + "@babel/plugin-syntax-import-meta", |
| 20 | + "@babel/plugin-proposal-class-properties", |
| 21 | + "@babel/plugin-proposal-json-strings", |
| 22 | + [ |
| 23 | + "@babel/plugin-proposal-decorators", |
| 24 | + { |
| 25 | + "legacy": true |
| 26 | + } |
| 27 | + ], |
| 28 | + "@babel/plugin-proposal-function-sent", |
| 29 | + "@babel/plugin-proposal-export-namespace-from", |
| 30 | + "@babel/plugin-proposal-numeric-separator", |
| 31 | + "@babel/plugin-proposal-throw-expressions", |
| 32 | + "@babel/plugin-proposal-export-default-from", |
| 33 | + "@babel/plugin-proposal-logical-assignment-operators", |
| 34 | + "@babel/plugin-proposal-optional-chaining", |
| 35 | + [ |
| 36 | + "@babel/plugin-proposal-pipeline-operator", |
| 37 | + { |
| 38 | + "proposal": "minimal" |
| 39 | + } |
| 40 | + ], |
| 41 | + "@babel/plugin-proposal-nullish-coalescing-operator", |
| 42 | + "@babel/plugin-proposal-do-expressions", |
| 43 | + "@babel/plugin-proposal-function-bind" |
17 | 44 | ] |
18 | 45 | }, |
19 | 46 | "repository": { |
|
45 | 72 | }, |
46 | 73 | "homepage": "https://github.com/creativetimofficial/react-notification-alert#readme", |
47 | 74 | "devDependencies": { |
48 | | - "babel-cli": "^6.26.0", |
49 | | - "babel-preset-env": "^1.6.1", |
50 | | - "babel-preset-react": "^6.24.1", |
51 | | - "babel-preset-stage-0": "^6.24.1", |
52 | | - "cpx": "^1.5.0", |
53 | | - "node-wget": "^0.4.2" |
| 75 | + "@babel/cli": "7.12.10", |
| 76 | + "@babel/core": "7.12.10", |
| 77 | + "@babel/plugin-proposal-class-properties": "7.12.1", |
| 78 | + "@babel/plugin-proposal-decorators": "7.12.1", |
| 79 | + "@babel/plugin-proposal-do-expressions": "7.12.1", |
| 80 | + "@babel/plugin-proposal-export-default-from": "7.12.1", |
| 81 | + "@babel/plugin-proposal-export-namespace-from": "7.12.1", |
| 82 | + "@babel/plugin-proposal-function-bind": "7.12.1", |
| 83 | + "@babel/plugin-proposal-function-sent": "7.12.1", |
| 84 | + "@babel/plugin-proposal-json-strings": "7.12.1", |
| 85 | + "@babel/plugin-proposal-logical-assignment-operators": "7.12.1", |
| 86 | + "@babel/plugin-proposal-nullish-coalescing-operator": "7.12.1", |
| 87 | + "@babel/plugin-proposal-numeric-separator": "7.12.7", |
| 88 | + "@babel/plugin-proposal-optional-chaining": "7.12.7", |
| 89 | + "@babel/plugin-proposal-pipeline-operator": "7.12.1", |
| 90 | + "@babel/plugin-proposal-throw-expressions": "7.12.1", |
| 91 | + "@babel/plugin-syntax-dynamic-import": "7.8.3", |
| 92 | + "@babel/plugin-syntax-import-meta": "7.10.4", |
| 93 | + "@babel/preset-env": "7.12.10", |
| 94 | + "@babel/preset-react": "7.12.10", |
| 95 | + "cpx": "1.5.0", |
| 96 | + "node-wget": "0.4.3" |
54 | 97 | }, |
55 | 98 | "peerDependencies": { |
56 | 99 | "react": "17.x.x", |
|
0 commit comments