1 | {
|
2 | "name": "react-textarea-autosize",
|
3 | "description": "textarea component for React which grows with content",
|
4 | "version": "8.5.3",
|
5 | "keywords": [
|
6 | "autosize",
|
7 | "grow",
|
8 | "react",
|
9 | "react-component",
|
10 | "textarea"
|
11 | ],
|
12 | "repository": {
|
13 | "type": "git",
|
14 | "url": "git+https://github.com/Andarist/react-textarea-autosize.git"
|
15 | },
|
16 | "license": "MIT",
|
17 | "main": "dist/react-textarea-autosize.cjs.js",
|
18 | "module": "dist/react-textarea-autosize.esm.js",
|
19 | "browser": {
|
20 | "./dist/react-textarea-autosize.esm.js": "./dist/react-textarea-autosize.browser.esm.js"
|
21 | },
|
22 | "exports": {
|
23 | ".": {
|
24 | "types": {
|
25 | "import": "./dist/react-textarea-autosize.cjs.mjs",
|
26 | "default": "./dist/react-textarea-autosize.cjs.js"
|
27 | },
|
28 | "development": {
|
29 | "worker": {
|
30 | "module": "./dist/react-textarea-autosize.development.worker.esm.js",
|
31 | "import": "./dist/react-textarea-autosize.development.worker.cjs.mjs",
|
32 | "default": "./dist/react-textarea-autosize.development.worker.cjs.js"
|
33 | },
|
34 | "browser": {
|
35 | "module": "./dist/react-textarea-autosize.browser.development.esm.js",
|
36 | "import": "./dist/react-textarea-autosize.browser.development.cjs.mjs",
|
37 | "default": "./dist/react-textarea-autosize.browser.development.cjs.js"
|
38 | },
|
39 | "module": "./dist/react-textarea-autosize.development.esm.js",
|
40 | "import": "./dist/react-textarea-autosize.development.cjs.mjs",
|
41 | "default": "./dist/react-textarea-autosize.development.cjs.js"
|
42 | },
|
43 | "worker": {
|
44 | "module": "./dist/react-textarea-autosize.worker.esm.js",
|
45 | "import": "./dist/react-textarea-autosize.worker.cjs.mjs",
|
46 | "default": "./dist/react-textarea-autosize.worker.cjs.js"
|
47 | },
|
48 | "browser": {
|
49 | "module": "./dist/react-textarea-autosize.browser.esm.js",
|
50 | "import": "./dist/react-textarea-autosize.browser.cjs.mjs",
|
51 | "default": "./dist/react-textarea-autosize.browser.cjs.js"
|
52 | },
|
53 | "module": "./dist/react-textarea-autosize.esm.js",
|
54 | "import": "./dist/react-textarea-autosize.cjs.mjs",
|
55 | "default": "./dist/react-textarea-autosize.cjs.js"
|
56 | },
|
57 | "./package.json": "./package.json"
|
58 | },
|
59 | "imports": {
|
60 | "#is-browser": {
|
61 | "worker": "./src/resolved-conditions/worker.ts",
|
62 | "browser": "./src/resolved-conditions/browser.ts",
|
63 | "default": "./src/resolved-conditions/node.ts"
|
64 | },
|
65 | "#is-development": {
|
66 | "development": "./src/resolved-conditions/development.ts",
|
67 | "default": "./src/resolved-conditions/production.ts"
|
68 | }
|
69 | },
|
70 | "sideEffects": false,
|
71 | "files": [
|
72 | "dist"
|
73 | ],
|
74 | "author": "Andrey Popp <8mayday@gmail.com> (httsps://andreypopp.com/)",
|
75 | "contributors": [
|
76 | "Mateusz Burzyński <mateuszburzynski@gmail.com> (https://github.com/Andarist)"
|
77 | ],
|
78 | "scripts": {
|
79 | "prebuild": "npm run clean",
|
80 | "build": "preconstruct build",
|
81 | "docs:dev": "npm run dev --prefix example",
|
82 | "docs:build": "npm run build --prefix example",
|
83 | "docs:publish": "npm run docs:build && cd ./example/dist && git init && git commit --allow-empty -m 'update docs' && git checkout -b gh-pages && touch .nojekyll && git add . && git commit -am 'update docs' && git push git@github.com:Andarist/react-textarea-autosize gh-pages --force",
|
84 | "clean": "rimraf dist",
|
85 | "lint": "eslint --ext .js,.ts,.tsx src",
|
86 | "prepare": "npm run build",
|
87 | "changeset": "changeset",
|
88 | "prerelease": "npm run lint && npm test",
|
89 | "release": "changeset publish",
|
90 | "test": "jest",
|
91 | "test:watch": "npm test -- --watch"
|
92 | },
|
93 | "peerDependencies": {
|
94 | "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
95 | },
|
96 | "dependencies": {
|
97 | "@babel/runtime": "^7.20.13",
|
98 | "use-composed-ref": "^1.3.0",
|
99 | "use-latest": "^1.2.1"
|
100 | },
|
101 | "devDependencies": {
|
102 | "@babel/core": "^7.21.3",
|
103 | "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
|
104 | "@babel/plugin-transform-runtime": "^7.21.0",
|
105 | "@babel/preset-env": "^7.20.2",
|
106 | "@babel/preset-react": "^7.18.6",
|
107 | "@babel/preset-typescript": "^7.21.0",
|
108 | "@changesets/changelog-github": "^0.4.4",
|
109 | "@changesets/cli": "^2.22.0",
|
110 | "@preconstruct/cli": "^2.8.1",
|
111 | "@testing-library/jest-dom": "^5.16.5",
|
112 | "@testing-library/react": "^10.4.9",
|
113 | "@types/react": "^16.14.35",
|
114 | "@types/react-dom": "^16.9.17",
|
115 | "@typescript-eslint/eslint-plugin": "^5.51.0",
|
116 | "@typescript-eslint/parser": "^5.51.0",
|
117 | "babel-eslint": "11.0.0-beta.2",
|
118 | "bytes": "^3.1.0",
|
119 | "cross-env": "^7.0.2",
|
120 | "eslint": "^8.33.0",
|
121 | "eslint-config-prettier": "^8.6.0",
|
122 | "eslint-plugin-prettier": "^4.2.1",
|
123 | "eslint-plugin-react": "^7.32.2",
|
124 | "husky": "^4.2.5",
|
125 | "jest": "^29.4.2",
|
126 | "jest-environment-jsdom": "^29.4.2",
|
127 | "lint-staged": "^10.2.8",
|
128 | "parcel": "2.0.0-nightly.454",
|
129 | "prettier": "^2.8.4",
|
130 | "react": "^16.13.1",
|
131 | "react-dom": "^16.13.1",
|
132 | "rimraf": "^3.0.2",
|
133 | "terser": "^4.7.0",
|
134 | "typescript": "^5.1.3"
|
135 | },
|
136 | "engines": {
|
137 | "node": ">=10"
|
138 | },
|
139 | "packageManager": "yarn@3.1.1",
|
140 | "preconstruct": {
|
141 | "exports": {
|
142 | "importConditionDefaultExport": "default"
|
143 | },
|
144 | "___experimentalFlags_WILL_CHANGE_IN_PATCH": {
|
145 | "importsConditions": true
|
146 | }
|
147 | }
|
148 | }
|