-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 3.28 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 3.28 KB
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
{
"name": "@rsm-hcd/javascript-core",
"version": "1.2.0",
"description": "Common patterns, functions, etc... used when building any JavaScript or TypeScript application",
"homepage": "https://github.com/rsm-hcd/hcd-javascript/tree/main/packages/javascript-core",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"dependencies": {
"@rsm-hcd/javascript-testing": "workspace:*",
"query-string": "6.13.1"
},
"devDependencies": {
"@faker-js/faker": "^8.4.1",
"@rsm-hcd/eslint-config-custom": "workspace:*",
"@rsm-hcd/tsconfig": "workspace:*",
"@swc/core": "^1.4.2",
"@types/humanize-plus": "^1.8.2",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.14.202",
"@types/node": "^20.11.26",
"@types/rosie": "^0.0.43",
"axios": "^1.6.7",
"cross-env": "^7.0.3",
"cypress": "^13.6.6",
"humanize-plus": "^1.8.2",
"i18next": "^23.10.0",
"i18next-browser-languagedetector": "^7.2.0",
"immutable": "^4.3.5",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-extended": "^4.0.2",
"jest-mock-axios": "^4.7.3",
"lodash": "^4.17.21",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"rosie": "^2.1.1",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tsup": "^8.0.2",
"typescript": "^5.3.3"
},
"files": [
"dist/**"
],
"keywords": [
"TypeScript",
"JavaScript",
"Node"
],
"peerDependencies": {
"@faker-js/faker": "^8.4.1",
"axios": "^1.6.7",
"humanize-plus": ">=1.8.2",
"i18next": ">=23.10.0",
"i18next-browser-languagedetector": ">=7.2.0",
"immutable": "^4.3.5",
"jest": "^29.7.0",
"jest-mock-axios": "^4.7.3",
"lodash": ">=4.17.21",
"rosie": "^2.1.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rsm-hcd/hcd-javascript.git",
"directory": "packages/javascript-core"
},
"scripts": {
"build": "tsup ./src/index.ts --format cjs,esm --onSuccess \"tsc --emitDeclarationOnly --declaration\"",
"build:prod": "pnpm run clean && tsup ./src/index.ts --minify --format cjs,esm --dts",
"clean": "rimraf dist && rimraf coverage",
"coverage": "jest ./src --coverage",
"dev": "pnpm run build --watch",
"format": "pnpm run lint:fix && prettier --write \"src/**/*.ts\" --trailing-comma es5",
"lint": "eslint \"src/**/*.ts\" --ext .ts --fix",
"lint:fix": "pnpm run lint --fix",
"prepublishOnly": "npm run build:prod",
"test": "jest ./src",
"test-cypress": "cypress run",
"watch": "tsc --pretty --watch",
"watch:coverage": "jest ./src --coverage --watch",
"watch:test": "jest ./src --watch"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write -u"
],
"*.{md}": [
"prettier --write -u"
]
}
}