-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 2.12 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
{
"name": "react-draggable-fab",
"version": "0.1.1",
"description": "A simple and customizable draggable button component for the web. Users can easily move the button around the screen, and it will snap to an edge upon release.",
"main": "dist/DraggableButton.min.js",
"scripts": {
"format": "prettier --config ./.prettierrc --write \"src/**/*{.js,.jsx,.ts,.tsx,.css,.scss}\"",
"dev": "webpack-dev-server --mode development",
"buildExample": "rimraf examples/dist && webpack --mode production",
"build:js": "babel src -d dist --copy-files && terser dist/DraggableButton.js --compress --mangle --output dist/DraggableButton.min.js && rimraf dist/DraggableButton.js",
"build:css": "postcss src/draggable-button.css --output dist/draggable-button.css",
"build": "rimraf dist && npm run build:js && npm run build:css",
"prepublish": "npm run build"
},
"author": "Ajit Tupe <ajittupe2548@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ajittupe2548/react-draggable-fab.git"
},
"bugs": {
"url": "https://github.com/ajittupe2548/react-draggable-fab/issues"
},
"homepage": "https://github.com/ajittupe2548/react-draggable-fab#readme",
"peerDependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@babel/cli": "^7.25.6",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-react": "^7.24.7",
"babel-loader": "^9.1.3",
"clean-webpack-plugin": "^4.0.0",
"css-loader": "^7.1.2",
"cssnano": "^7.0.5",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"html-webpack-plugin": "^5.6.0",
"mini-css-extract-plugin": "^2.9.1",
"postcss": "^8.4.44",
"postcss-cli": "^11.0.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"terser": "^5.31.6",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4"
},
"dependencies": {
"prop-types": "^15.8.1"
},
"keywords": [
"react",
"react-component",
"draggable",
"react-draggable",
"draggable-button",
"sticky-button"
]
}