-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
67 lines (67 loc) · 1.89 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
{
"name": "react-id-generator",
"version": "3.0.2",
"description": "Simple and universal HTML-id generator for React.",
"repository": "https://github.com/Tomekmularczyk/react-id-generator.git",
"main": "lib/index.js",
"files": [
"lib"
],
"types": "./lib/index.d.ts",
"scripts": {
"dev": "concurrently \"yarn build:dev --watch\" \"yarn build:declarations --watch\"",
"build:dev": "rollup -c",
"build": "NODE_ENV=production rollup -c",
"build:declarations": "tsc --declaration --emitDeclarationOnly --declarationDir lib",
"lint": "eslint --ext .ts,.tsx .",
"typecheck": "tsc --noEmit",
"test": "jest",
"prepare": "husky install"
},
"keywords": [
"id",
"react",
"react-id",
"id-generator"
],
"author": "Tomasz Mularczyk",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.15.5",
"@babel/preset-env": "^7.15.4",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@types/jest": "^27.0.1",
"@types/react": "^16.9.42",
"@types/react-dom": "^16.9.8",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"concurrently": "^6.2.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.25.1",
"husky": "^7.0.0",
"jest": "^27.1.0",
"lint-staged": "^11.1.2",
"prettier": "^2.3.2",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"rollup": "^2.56.3",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"typescript": "^4.4.2"
},
"peerDependencies": {
"react": ">= 16.8.0"
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint",
"*.{js,ts,tsx,css,md}": "prettier --write"
},
"jest": {
"testEnvironment": "jsdom"
}
}