Skip to content

Commit 6e5aaef

Browse files
committed
final preps
1 parent 7938af8 commit 6e5aaef

File tree

5 files changed

+9
-110
lines changed

5 files changed

+9
-110
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ bower_components
3131

3232
# Compiled binary addons (https://nodejs.org/api/addons.html)
3333
build/Release
34-
dist
34+
dist/
3535

3636
# Dependency directories
3737
node_modules/

dist/index.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "react-multi-fields-input",
33
"version": "0.1.0",
44
"main": "dist/index.js",
5+
"types": "dist/components/index.d.ts",
56
"author": "kakuevn <n.kakuev@gmail.com>",
67
"license": "MIT",
78
"scripts": {
@@ -47,12 +48,10 @@
4748
"@types/classnames": "^2.2.7",
4849
"@types/react": "^16.8.14",
4950
"@types/react-dom": "^16.8.4",
50-
"@types/styled-components": "4.1.8",
5151
"classnames": "^2.2.6",
5252
"cross-env": "^5.2.0",
5353
"react": "^16.8.6",
5454
"react-dom": "^16.8.6",
55-
"styled-components": "^4.2.0",
5655
"webpack": "^4.30.0"
5756
},
5857
"devDependencies": {

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"compilerOptions": {
33
"outDir": "./dist/",
4+
"declaration": true,
45
"sourceMap": true,
56
"noImplicitAny": true,
67
"module": "commonjs",
7-
"target": "es6",
8+
"target": "es5",
89
"jsx": "react",
910
"suppressImplicitAnyIndexErrors": true
1011
},

yarn.lock

Lines changed: 5 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,6 @@
6666
source-map "^0.5.0"
6767
trim-right "^1.0.1"
6868

69-
"@babel/helper-annotate-as-pure@^7.0.0":
70-
version "7.0.0"
71-
resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0.tgz#323d39dd0b50e10c7c06ca7d7638e6864d8c5c32"
72-
dependencies:
73-
"@babel/types" "^7.0.0"
74-
7569
"@babel/helper-function-name@^7.1.0":
7670
version "7.1.0"
7771
resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.1.0.tgz#a0ceb01685f73355d4360c1247f582bfafc8ff53"
@@ -86,12 +80,6 @@
8680
dependencies:
8781
"@babel/types" "^7.0.0"
8882

89-
"@babel/helper-module-imports@^7.0.0":
90-
version "7.0.0"
91-
resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.0.0.tgz#96081b7111e486da4d2cd971ad1a4fe216cc2e3d"
92-
dependencies:
93-
"@babel/types" "^7.0.0"
94-
9583
"@babel/helper-plugin-utils@^7.0.0":
9684
version "7.0.0"
9785
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz#bbb3fbee98661c569034237cc03967ba99b4f250"
@@ -219,20 +207,6 @@
219207
exec-sh "^0.3.2"
220208
minimist "^1.2.0"
221209

222-
"@emotion/is-prop-valid@^0.7.3":
223-
version "0.7.3"
224-
resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-0.7.3.tgz#a6bf4fa5387cbba59d44e698a4680f481a8da6cc"
225-
dependencies:
226-
"@emotion/memoize" "0.7.1"
227-
228-
"@emotion/memoize@0.7.1":
229-
version "0.7.1"
230-
resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.1.tgz#e93c13942592cf5ef01aa8297444dc192beee52f"
231-
232-
"@emotion/unitless@^0.7.0":
233-
version "0.7.3"
234-
resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.7.3.tgz#6310a047f12d21a1036fb031317219892440416f"
235-
236210
"@jest/console@^24.7.1":
237211
version "24.7.1"
238212
resolved "https://registry.yarnpkg.com/@jest/console/-/console-24.7.1.tgz#32a9e42535a97aedfe037e725bd67e954b459545"
@@ -517,14 +491,6 @@
517491
version "1.0.1"
518492
resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-1.0.1.tgz#0a851d3bd96498fa25c33ab7278ed3bd65f06c3e"
519493

520-
"@types/styled-components@4.1.8":
521-
version "4.1.8"
522-
resolved "https://registry.yarnpkg.com/@types/styled-components/-/styled-components-4.1.8.tgz#15c8a53bb4b9066e528fafb7558963dee5690ae0"
523-
dependencies:
524-
"@types/node" "*"
525-
"@types/react" "*"
526-
csstype "^2.2.0"
527-
528494
"@types/unist@*", "@types/unist@^2.0.0":
529495
version "2.0.3"
530496
resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.3.tgz#9c088679876f374eb5983f150d4787aa6fb32d7e"
@@ -551,6 +517,7 @@
551517
"@typescript-eslint/eslint-plugin@^1.7.0":
552518
version "1.7.0"
553519
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-1.7.0.tgz#570e45dc84fb97852e363f1e00f47e604a0b8bcc"
520+
integrity sha512-NUSz1aTlIzzTjFFVFyzrbo8oFjHg3K/M9MzYByqbMCxeFdErhLAcGITVfXzSz+Yvp5OOpMu3HkIttB0NyKl54Q==
554521
dependencies:
555522
"@typescript-eslint/parser" "1.7.0"
556523
"@typescript-eslint/typescript-estree" "1.7.0"
@@ -1091,19 +1058,6 @@ babel-plugin-jest-hoist@^24.6.0:
10911058
dependencies:
10921059
"@types/babel__traverse" "^7.0.6"
10931060

1094-
"babel-plugin-styled-components@>= 1":
1095-
version "1.10.0"
1096-
resolved "https://registry.yarnpkg.com/babel-plugin-styled-components/-/babel-plugin-styled-components-1.10.0.tgz#ff1f42ad2cc78c21f26b62266b8f564dbc862939"
1097-
dependencies:
1098-
"@babel/helper-annotate-as-pure" "^7.0.0"
1099-
"@babel/helper-module-imports" "^7.0.0"
1100-
babel-plugin-syntax-jsx "^6.18.0"
1101-
lodash "^4.17.10"
1102-
1103-
babel-plugin-syntax-jsx@^6.18.0:
1104-
version "6.18.0"
1105-
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946"
1106-
11071061
babel-preset-jest@^24.6.0:
11081062
version "24.6.0"
11091063
resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-24.6.0.tgz#66f06136eefce87797539c0d63f1769cc3915984"
@@ -1440,10 +1394,6 @@ camelcase@^5.0.0, camelcase@^5.2.0:
14401394
version "5.3.1"
14411395
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
14421396

1443-
camelize@^1.0.0:
1444-
version "1.0.0"
1445-
resolved "https://registry.yarnpkg.com/camelize/-/camelize-1.0.0.tgz#164a5483e630fa4321e5af07020e531831b2609b"
1446-
14471397
caniuse-lite@^1.0.30000884:
14481398
version "1.0.30000963"
14491399
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000963.tgz#5be481d5292f22aff5ee0db4a6c049b65b5798b1"
@@ -1889,10 +1839,6 @@ crypto-browserify@^3.11.0:
18891839
randombytes "^2.0.0"
18901840
randomfill "^1.0.3"
18911841

1892-
css-color-keywords@^1.0.0:
1893-
version "1.0.0"
1894-
resolved "https://registry.yarnpkg.com/css-color-keywords/-/css-color-keywords-1.0.0.tgz#fea2616dc676b2962686b3af8dbdbe180b244e05"
1895-
18961842
css-initials@^0.2.0:
18971843
version "0.2.0"
18981844
resolved "https://registry.yarnpkg.com/css-initials/-/css-initials-0.2.0.tgz#14c225bd8656255a6baee07231ef82fa55aacaa3"
@@ -1924,14 +1870,6 @@ css-select@~1.2.0:
19241870
domutils "1.5.1"
19251871
nth-check "~1.0.1"
19261872

1927-
css-to-react-native@^2.2.2:
1928-
version "2.3.0"
1929-
resolved "https://registry.yarnpkg.com/css-to-react-native/-/css-to-react-native-2.3.0.tgz#bf80d24ec4a08e430306ef429c0586e6ed5485f7"
1930-
dependencies:
1931-
camelize "^1.0.0"
1932-
css-color-keywords "^1.0.0"
1933-
postcss-value-parser "^3.3.0"
1934-
19351873
css-what@2.1:
19361874
version "2.1.3"
19371875
resolved "https://registry.yarnpkg.com/css-what/-/css-what-2.1.3.tgz#a6d7604573365fe74686c3f311c56513d88285f2"
@@ -4744,10 +4682,6 @@ mem@^4.0.0:
47444682
mimic-fn "^2.0.0"
47454683
p-is-promise "^2.0.0"
47464684

4747-
memoize-one@^5.0.0:
4748-
version "5.0.4"
4749-
resolved "https://registry.yarnpkg.com/memoize-one/-/memoize-one-5.0.4.tgz#005928aced5c43d890a4dfab18ca908b0ec92cbc"
4750-
47514685
memory-fs@^0.4.0, memory-fs@^0.4.1, memory-fs@~0.4.1:
47524686
version "0.4.1"
47534687
resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552"
@@ -5851,7 +5785,7 @@ prop-types-exact@^1.2.0:
58515785
object.assign "^4.1.0"
58525786
reflect.ownkeys "^0.2.0"
58535787

5854-
prop-types@^15.5.4, prop-types@^15.6.2, prop-types@^15.7.2:
5788+
prop-types@^15.6.2, prop-types@^15.7.2:
58555789
version "15.7.2"
58565790
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5"
58575791
dependencies:
@@ -6090,7 +6024,7 @@ react-icons@^2.2.7:
60906024
dependencies:
60916025
react-icon-base "2.1.0"
60926026

6093-
react-is@^16.6.0, react-is@^16.8.1, react-is@^16.8.4, react-is@^16.8.6:
6027+
react-is@^16.8.1, react-is@^16.8.4, react-is@^16.8.6:
60946028
version "16.8.6"
60956029
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.6.tgz#5bbc1e2d29141c9fbdfed456343fe2bc430a6a16"
60966030

@@ -6460,6 +6394,7 @@ require-main-filename@^2.0.0:
64606394
requireindex@^1.2.0:
64616395
version "1.2.0"
64626396
resolved "https://registry.yarnpkg.com/requireindex/-/requireindex-1.2.0.tgz#3463cdb22ee151902635aa6c9535d4de9c2ef1ef"
6397+
integrity sha512-L9jEkOi3ASd9PYit2cwRfyppc9NoABujTP8/5gFcbERmo5jUoAKovIC3fsF17pkTnGsrByysqX+Kxd2OTNI1ww==
64636398

64646399
requires-port@^1.0.0:
64656400
version "1.0.0"
@@ -7195,30 +7130,6 @@ style-loader@^0.23.1:
71957130
loader-utils "^1.1.0"
71967131
schema-utils "^1.0.0"
71977132

7198-
styled-components@^4.2.0:
7199-
version "4.2.0"
7200-
resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-4.2.0.tgz#811fbbec4d64c7189f6c7482b9eb6fefa7fefef7"
7201-
dependencies:
7202-
"@babel/helper-module-imports" "^7.0.0"
7203-
"@emotion/is-prop-valid" "^0.7.3"
7204-
"@emotion/unitless" "^0.7.0"
7205-
babel-plugin-styled-components ">= 1"
7206-
css-to-react-native "^2.2.2"
7207-
memoize-one "^5.0.0"
7208-
prop-types "^15.5.4"
7209-
react-is "^16.6.0"
7210-
stylis "^3.5.0"
7211-
stylis-rule-sheet "^0.0.10"
7212-
supports-color "^5.5.0"
7213-
7214-
stylis-rule-sheet@^0.0.10:
7215-
version "0.0.10"
7216-
resolved "https://registry.yarnpkg.com/stylis-rule-sheet/-/stylis-rule-sheet-0.0.10.tgz#44e64a2b076643f4b52e5ff71efc04d8c3c4a430"
7217-
7218-
stylis@^3.5.0:
7219-
version "3.5.4"
7220-
resolved "https://registry.yarnpkg.com/stylis/-/stylis-3.5.4.tgz#f665f25f5e299cf3d64654ab949a57c768b73fbe"
7221-
72227133
supports-color@^2.0.0:
72237134
version "2.0.0"
72247135
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
@@ -7457,6 +7368,7 @@ tslib@^1.8.1, tslib@^1.9.0:
74577368
tsutils@^3.7.0:
74587369
version "3.10.0"
74597370
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.10.0.tgz#6f1c95c94606e098592b0dff06590cf9659227d6"
7371+
integrity sha512-q20XSMq7jutbGB8luhKKsQldRKWvyBO2BGqni3p4yq8Ys9bEP/xQw3KepKmMRt9gJ4lvQSScrihJrcKdKoSU7Q==
74607372
dependencies:
74617373
tslib "^1.8.1"
74627374

0 commit comments

Comments
 (0)