-
Notifications
You must be signed in to change notification settings - Fork 51
/
package.json
60 lines (60 loc) · 1.79 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
{
"name": "react-plx",
"version": "2.1.2",
"private": false,
"license": "MIT",
"description": "React parallax (on scroll effects) component. Lightweight, yet powerful.",
"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"
}
},
"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-plx",
"build:docs": "esbuild docs/docs.tsx --bundle --tsconfig=tsconfig-demo.json --outdir=docs --minify --sourcemap",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@types/react": "^18.0.14",
"@types/react-dom": "^18.0.5",
"animated-scroll-to": "^2.2.0",
"esbuild": "^0.14.46",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^4.7.4"
},
"dependencies": {
"@types/bezier-easing": "^2.1.2",
"bezier-easing": "^2.1.0",
"window-scroll-manager": "^1.1.4"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/Stanko/react-plx.git"
},
"keywords": [
"react",
"parallax"
],
"author": "Stanko",
"bugs": {
"url": "https://github.com/Stanko/react-plx/issues"
},
"homepage": "https://github.com/Stanko/react-plx#readme",
"files": [
"dist/",
"CHANGELOG.md"
]
}