forked from jhipster/react-jhipster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 3.22 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "react-jhipster",
"description": "A Jhipster util library for React",
"repository": {
"type": "git",
"url": "https://github.com/jhipster/react-jhipster.git"
},
"keywords": [
"jhipster",
"react"
],
"author": "Deepu KS",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/jhipster/generator-jhipster/issues"
},
"main": "lib/index.js",
"exports": "./lib/index.js",
"typings": "lib/index.d.ts",
"types": "lib/index.d.ts",
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"files": [
"src",
"lib",
"LICENCE.txt",
"NOTICE",
"README.md",
"index.ts",
"react-jhipster.ts"
],
"homepage": "https://www.jhipster.tech",
"peerDependencies": {
"axios": "*",
"dayjs": "^1.10.4",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-hook-form": "^7.6.8",
"reactstrap": "^9.0.0"
},
"peerDependenciesMeta": {
"reactstrap": {
"optional": true
}
},
"dependencies": {
"lodash.get": "^4.4.2",
"numeral": "^2.0.6",
"sanitize-html": "^2.3.1",
"tslib": "^2.3.1"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^11.2.7",
"@types/jest": "^27.0.2",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/sanitize-html": "^2.3.1",
"@types/webpack-env": "^1.16.3",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"axios": "^0.21.1",
"dayjs": "^1.10.4",
"eslint": "^7.18.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.22.0",
"husky": "^6.0.0",
"jest": "^27.0.3",
"jest-junit": "^12.1.0",
"lint-staged": "^11.0.0",
"prettier": "^2.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-hook-form": "^7.6.8",
"reactstrap": "^9.0.0",
"redux": "^4.0.5",
"rimraf": "^3.0.2",
"sinon": "^11.1.1",
"ts-jest": "^27.0.2",
"typescript": "^4.3.2"
},
"version": "0.18.0",
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"npm run lint:fix",
"git add"
]
},
"scripts": {
"tsc": "tsc",
"precommit": "lint-staged",
"prettier:format": "prettier --write '**/*.{ts,tsx}'",
"cleanup": "rimraf lib/* src/*.d.ts src/**/*.d.ts src/*.{js,jsx} src/**/*.{js,jsx} tests/**/*.d.ts tests/*.d.ts",
"lint": "eslint . --ext .js,.ts,.jsx,.tsx",
"lint:fix": "npm run lint -- --fix",
"test": "npm run lint && npm run jest",
"test:watch": "npm run jest -- --watch",
"jest": "jest --coverage --logHeapUsage --maxWorkers=2 --config jest.conf.js",
"jest:update": "npm run jest -- --updateSnapshot",
"build": "npm run cleanup && npm run tsc",
"release": "npm test && git push && git push --tags && npm publish",
"commit-lib": "git add lib && git commit --allow-empty -m \"Update libs\"",
"release:patch": "npm run build && npm run commit-lib && npm version patch -a -m \"Update to %s\" && npm run release",
"release:minor": "npm run build && npm run commit-lib && npm version minor -a -m \"Update to %s\" && npm run release",
"release:major": "npm run build && npm run commit-lib && npm version major -a -m \"Update to %s\" && npm run release"
}
}