-
Notifications
You must be signed in to change notification settings - Fork 53
/
package.json
66 lines (66 loc) · 2 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "react-animate-height",
"version": "3.2.3",
"description": "Lightweight React component for animating height using CSS transitions.",
"main": "./dist/cjs/index.cjs",
"types": "./dist/esm/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs"
}
},
"author": "Stanko",
"homepage": "https://github.com/Stanko/react-animate-height",
"repository": {
"type": "git",
"url": "https://github.com/Stanko/react-animate-height.git"
},
"bugs": {
"url": "https://github.com/Stanko/react-animate-height/issues"
},
"scripts": {
"clean": "rm -rf dist",
"build:esm": "tsc -p tsconfig.json",
"build:cjs": "tsc -p tsconfig-cjs.json && mv ./dist/cjs/index.js ./dist/cjs/index.cjs",
"build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:docs",
"start": "esbuild docs/docs.tsx docs/docs.css --bundle --tsconfig=tsconfig-demo.json --servedir=docs --outdir=docs/react-animate-height",
"build:docs": "esbuild docs/docs.tsx --bundle --tsconfig=tsconfig-demo.json --outdir=docs --minify --sourcemap",
"prepublishOnly": "npm run test && npm run build",
"start:test": "esbuild test/test.tsx test/test.css --bundle --tsconfig=tsconfig-demo.json --serve=8080 --servedir=test --outdir=test/output",
"test": "node test.js",
"cypress:run": "cypress run",
"cypress:open": "cypress open"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"engines": {
"node": ">= 12.0.0"
},
"keywords": [
"react",
"react-component",
"slide",
"slide up",
"slide down",
"animate height"
],
"license": "MIT",
"devDependencies": {
"@types/node": "^20.4.1",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"cypress": "^12.17.0",
"esbuild": "^0.18.11",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.1.6"
},
"files": [
"dist/",
"CHANGELOG.md"
]
}