-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
53 lines (53 loc) · 1.64 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
{
"name": "react-component-lib",
"version": "1.0.0",
"module": "dist/index.js",
"repository": {
"url": "https://github.com/michal-wrzosek/react-component-lib",
"type": "git"
},
"license": "MIT",
"types": "dist/index.d.ts",
"devDependencies": {
"@eslint/js": "^9.8.0",
"@rollup/plugin-typescript": "11.1.6",
"@types/eslint__js": "^8.42.3",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"concurrently": "^8.2.2",
"eslint": "^9.8.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.35.0",
"globals": "^15.9.0",
"install-peers": "^1.0.4",
"prettier": "^3.3.3",
"rollup": "^4.20.0",
"rollup-preserve-directives": "^1.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.5.4",
"typescript-eslint": "^8.0.1"
},
"peerDependencies": {
"react": "^18",
"react-dom": "^18",
"styled-components": "^6.1.12"
},
"scripts": {
"build": "rollup -c",
"build-watch": "rollup -c -w",
"prepublishOnly": "npm run build",
"prepare": "cd example-nextjs && npm i",
"start-example": "cd example-nextjs && npm run dev",
"deploy-example": "npm run build && cd example-nextjs && npm run deploy",
"dev": "concurrently --kill-others \"npm run build-watch\" \"npm run start-example\"",
"test": "npm run test:lint && npm run test:unit",
"pretest": "npm run build",
"test:unit": "ts-node test/test.ts",
"test:lint": "eslint ./src/**/*.ts ./src/**/*.tsx ./example-nextjs/src/**/*.ts ./example-nextjs/src/**/*.tsx",
"test:lint:fix": "npm run test:lint -- --fix"
},
"files": [
"dist"
]
}