-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
69 lines (69 loc) · 1.76 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
69
{
"name": "rollup-library-starter",
"version": "2.1.0",
"description": "Starter template for building JS libraries using Rollup",
"keywords": [
"rollup",
"javascript",
"library",
"esm"
],
"license": "MIT",
"author": "Mykhaylo Ryechkin (https://github.com/mryechkin)",
"sideEffects": false,
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"files": [
"dist"
],
"scripts": {
"prebuild": "rm -rf dist",
"build": "rollup -c",
"format": "prettier --write src",
"lint": "eslint --ignore-path .gitignore --fix src",
"prepare": "husky install"
},
"lint-staged": {
"*.js": "npm run lint",
"*.{js,css,md*}": "npm run format"
},
"dependencies": {
"@babel/runtime": "^7.24.0"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@babel/preset-react": "^7.23.3",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"eslint": "^8.57.0",
"eslint-config-acme": "^3.1.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"rollup": "^4.13.0",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-preserve-directives": "^0.4.0"
},
"peerDependencies": {
"react": "^16.14.0 || ^17.0.0 || ^18.2.0",
"react-dom": "^16.14.0 || ^17.0.0 || ^18.2.0"
},
"engines": {
"node": ">=16.0.0 || >=18.0.0 || >=19.0.0 || >=20.0.0"
},
"overrides": {
"rollup-plugin-preserve-directives": {
"rollup": "^4.7.0"
}
}
}