-
Notifications
You must be signed in to change notification settings - Fork 55
/
package.json
68 lines (68 loc) · 2.09 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
67
68
{
"name": "react-animate-height",
"version": "3.0.4",
"description": "Lightweight React component for animating height using CSS transitions.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"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 && echo '{ \"type\": \"module\" }' > dist/esm/package.json",
"build:cjs": "tsc -p tsconfig-cjs.json && echo '{ \"type\": \"commonjs\" }' > dist/cjs/package.json",
"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 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"
},
"dependencies": {
"classnames": "^2.3.1"
},
"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/react": "^18.0.9",
"@types/react-dom": "^18.0.5",
"cypress": "^9.7.0",
"esbuild": "^0.14.42",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"typescript": "^4.7.2"
},
"files": [
"dist/",
"CHANGELOG.md"
]
}