-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
64 lines (64 loc) · 1.91 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
{
"name": "react-copy-button",
"version": "0.3.0",
"homepage": "https://cham11ng.github.io/react-copy-button",
"description": "Copy to clipboard react button component.",
"author": "cham11ng",
"license": "MIT",
"repository": "cham11ng/react-copy-button",
"main": "dist/index.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"sideEffects": false,
"engines": {
"node": ">=8",
"npm": ">=5"
},
"scripts": {
"build": "rollup -c",
"start": "rollup -c -w",
"prepare": "yarn build && husky install",
"predeploy": "cd example && yarn install && yarn run build",
"deploy": "gh-pages -d example/build",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"prettify": "prettier --write './**/*.{js,jsx,ts,tsx,css,md,json}'"
},
"lint-staged": {
"*.{js,ts,jsx,tsx}": "eslint --fix",
"*.{js,ts,jsx,tsx,css,md,json}": "prettier --write"
},
"files": [
"dist"
],
"devDependencies": {
"@babel/core": "^7.23.0",
"@babel/plugin-transform-runtime": "^7.22.15",
"@babel/preset-env": "^7.22.20",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.23.0",
"@babel/runtime": "^7.23.1",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "^8.5.0",
"@types/react": "^18.2.23",
"@types/react-dom": "^18.2.8",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.50.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.33.2",
"gh-pages": "^4.0.0",
"husky": "^8.0.3",
"lint-staged": "^13.3.0",
"prettier": "^2.8.8",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^2.79.1",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-node-externals": "^4.1.1",
"tslib": "^2.6.2",
"typescript": "^4.9.5"
}
}