|
3 | 3 | "version": "3.0.3",
|
4 | 4 | "description": "A React component to animate replacing one element with another.",
|
5 | 5 | "main": "lib/ReactCSSTransitionReplace.js",
|
| 6 | + "module": "es/ReactCSSTransitionReplace.js", |
6 | 7 | "repository": {
|
7 | 8 | "type": "git",
|
8 | 9 | "url": "https://github.com/marnusw/react-css-transition-replace.git"
|
9 | 10 | },
|
10 | 11 | "scripts": {
|
11 | 12 | "test": "echo \"No test implemented\" && exit 0",
|
12 | 13 | "prebuild": "rimraf lib",
|
13 |
| - "build": "babel ./src --out-dir ./lib", |
| 14 | + "build:es": "babel ./src --out-dir ./es", |
| 15 | + "build:cjs": "cross-env MODULES=cjs babel ./src --out-dir ./lib", |
| 16 | + "build": "yarn build:es && yarn build:cjs", |
14 | 17 | "watch": "babel ./src --out-dir ./lib --watch",
|
15 | 18 | "prepublish": "yarn build && cp ../../*.md .",
|
16 | 19 | "postpublish": "rm *.md"
|
17 | 20 | },
|
18 | 21 | "dependencies": {
|
19 | 22 | "chain-function": "^1.0.0",
|
20 |
| - "dom-helpers": "^3.3.1", |
21 |
| - "prop-types": "^15.6.1" |
| 23 | + "dom-helpers": "^5.1.0", |
| 24 | + "prop-types": "^15.7.2" |
22 | 25 | },
|
23 | 26 | "peerDependencies": {
|
24 | 27 | "react": "^16.3.0",
|
25 | 28 | "react-dom": "^16.3.0"
|
26 | 29 | },
|
27 | 30 | "devDependencies": {
|
28 |
| - "babel-cli": "^6.26.0", |
29 |
| - "babel-core": "^6.26.0", |
30 |
| - "babel-plugin-add-module-exports": "^1.0.0", |
31 |
| - "babel-plugin-check-es2015-constants": "^6.8.0", |
32 |
| - "babel-plugin-syntax-trailing-function-commas": "^6.13.0", |
33 |
| - "babel-plugin-transform-class-properties": "^6.24.1", |
34 |
| - "babel-plugin-transform-decorators-legacy": "^1.3.4", |
35 |
| - "babel-plugin-transform-es2015-arrow-functions": "^6.8.0", |
36 |
| - "babel-plugin-transform-es2015-block-scoped-functions": "^6.8.0", |
37 |
| - "babel-plugin-transform-es2015-block-scoping": "^6.26.0", |
38 |
| - "babel-plugin-transform-es2015-classes": "^6.24.1", |
39 |
| - "babel-plugin-transform-es2015-computed-properties": "^6.24.1", |
40 |
| - "babel-plugin-transform-es2015-destructuring": "^6.16.0", |
41 |
| - "babel-plugin-transform-es2015-duplicate-keys": "^6.24.1", |
42 |
| - "babel-plugin-transform-es2015-for-of": "^6.8.0", |
43 |
| - "babel-plugin-transform-es2015-function-name": "^6.24.1", |
44 |
| - "babel-plugin-transform-es2015-literals": "^6.8.0", |
45 |
| - "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", |
46 |
| - "babel-plugin-transform-es2015-object-super": "^6.24.1", |
47 |
| - "babel-plugin-transform-es2015-parameters": "^6.24.1", |
48 |
| - "babel-plugin-transform-es2015-shorthand-properties": "^6.24.1", |
49 |
| - "babel-plugin-transform-es2015-spread": "^6.8.0", |
50 |
| - "babel-plugin-transform-es2015-sticky-regex": "^6.24.1", |
51 |
| - "babel-plugin-transform-es2015-template-literals": "^6.8.0", |
52 |
| - "babel-plugin-transform-es2015-typeof-symbol": "^6.8.0", |
53 |
| - "babel-plugin-transform-es2015-unicode-regex": "^6.24.1", |
54 |
| - "babel-plugin-transform-object-rest-spread": "^6.26.0", |
55 |
| - "babel-plugin-transform-object-set-prototype-of-to-assign": "^6.8.0", |
56 |
| - "babel-plugin-transform-proto-to-assign": "^6.26.0", |
57 |
| - "babel-plugin-transform-react-constant-elements": "^6.9.1", |
58 |
| - "babel-plugin-transform-react-display-name": "^6.25.0", |
59 |
| - "babel-plugin-transform-react-inline-elements": "^6.8.0", |
60 |
| - "babel-plugin-transform-react-jsx": "^6.24.1", |
61 |
| - "babel-plugin-transform-react-pure-class-to-function": "^1.0.1", |
62 |
| - "babel-plugin-transform-react-remove-prop-types": "^0.4.13", |
63 |
| - "rimraf": "^2.6.2" |
| 31 | + "@babel/cli": "^7.6.0", |
| 32 | + "@babel/core": "^7.6.0", |
| 33 | + "@babel/plugin-proposal-class-properties": "^7.5.5", |
| 34 | + "@babel/preset-env": "^7.6.0", |
| 35 | + "@babel/preset-react": "^7.0.0", |
| 36 | + "cross-env": "^5.2.1", |
| 37 | + "rimraf": "^3.0.0" |
64 | 38 | },
|
65 | 39 | "author": "Marnus Weststrate <marnusw@gmail.com>",
|
66 | 40 | "keywords": [
|
|
72 | 46 | "bugs": {
|
73 | 47 | "url": "https://github.com/marnusw/react-css-transition-replace/issues"
|
74 | 48 | },
|
75 |
| - "homepage": "https://github.com/marnusw/react-css-transition-replace", |
76 |
| - "babel": { |
77 |
| - "compact": false, |
78 |
| - "ast": false, |
79 |
| - "plugins": [ |
80 |
| - "transform-decorators-legacy", |
81 |
| - "transform-proto-to-assign", |
82 |
| - "transform-object-set-prototype-of-to-assign", |
83 |
| - "transform-object-rest-spread", |
84 |
| - "transform-class-properties", |
85 |
| - [ |
86 |
| - "transform-es2015-classes", |
87 |
| - { |
88 |
| - "loose": true |
89 |
| - } |
90 |
| - ], |
91 |
| - [ |
92 |
| - "transform-es2015-spread", |
93 |
| - { |
94 |
| - "loose": true |
95 |
| - } |
96 |
| - ], |
97 |
| - "transform-es2015-parameters", |
98 |
| - "syntax-trailing-function-commas", |
99 |
| - [ |
100 |
| - "transform-es2015-destructuring", |
101 |
| - { |
102 |
| - "loose": true |
103 |
| - } |
104 |
| - ], |
105 |
| - [ |
106 |
| - "transform-es2015-template-literals", |
107 |
| - { |
108 |
| - "loose": true, |
109 |
| - "spec": true |
110 |
| - } |
111 |
| - ], |
112 |
| - "transform-es2015-literals", |
113 |
| - "transform-es2015-function-name", |
114 |
| - "transform-es2015-arrow-functions", |
115 |
| - "transform-es2015-block-scoped-functions", |
116 |
| - "transform-es2015-object-super", |
117 |
| - "transform-es2015-shorthand-properties", |
118 |
| - "transform-es2015-duplicate-keys", |
119 |
| - [ |
120 |
| - "transform-es2015-computed-properties", |
121 |
| - { |
122 |
| - "loose": true |
123 |
| - } |
124 |
| - ], |
125 |
| - [ |
126 |
| - "transform-es2015-for-of", |
127 |
| - { |
128 |
| - "loose": true |
129 |
| - } |
130 |
| - ], |
131 |
| - "transform-es2015-sticky-regex", |
132 |
| - "transform-es2015-unicode-regex", |
133 |
| - "check-es2015-constants", |
134 |
| - "transform-es2015-block-scoping", |
135 |
| - "transform-es2015-typeof-symbol", |
136 |
| - "transform-react-jsx", |
137 |
| - "transform-react-display-name", |
138 |
| - "transform-react-constant-elements", |
139 |
| - "transform-react-inline-elements", |
140 |
| - "transform-react-remove-prop-types", |
141 |
| - "transform-react-pure-class-to-function", |
142 |
| - "add-module-exports", |
143 |
| - "transform-es2015-modules-commonjs" |
144 |
| - ] |
145 |
| - } |
| 49 | + "homepage": "https://github.com/marnusw/react-css-transition-replace" |
146 | 50 | }
|
0 commit comments