generated from codibre/boilerplate-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 3.84 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "sonic-date",
"description": "A really fast date library",
"version": "0.6.0",
"private": false,
"author": {
"name": "Thiago O Santos <tos.oliveira@gmail.com>"
},
"engines": {
"node": ">=10"
},
"files": [
"dist"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"doc": "rm -rf docs && npx typedoc src/index.ts && git add . && git commit -m 'chore: generating docs [skip ci]'",
"lint": "npm run lint:format && npm run lint:style",
"lint:fix": "npm run lint:format:fix && npm run lint:style:fix",
"build": "nest build && dts-bundle --configJson dts-bundle.json",
"test": "TZ=UTC jest test/unit --runInBand --forceExit",
"test:only": "TZ=UTC jest",
"test:watch": "TZ=UTC jest test/unit --runInBand --forceExit --watch",
"test:coverage": "TZ=UTC jest test/unit --runInBand --forceExit --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "TZ=UTC jest test/e2e",
"test:benchmark": "npm run build && npm run test:only test/benchmarks/date-lib.spec.ts",
"clear": "npm run clear:build && npm run clear:modules",
"clear:build": "del-cli ./dist",
"clear:modules": "del-cli ./node_modules",
"prebuild": "npm run clear:build && del-cli tsconfig.tsbuildinfo",
"preaction:verify:update-modules": "npm run action:verify:update-modules:check",
"action:verify:update-modules": "npm run action:verify:update-modules:reinstall && npm run action:verify:update-modules:clean",
"action:verify:update-modules:clean": "del-cli .check",
"lint:format": "prettier --check '{src,test}/**/*.ts' '.eslintrc.js'",
"lint:format:fix": "prettier --write '{src,test}/**/*.ts' '.eslintrc.js'",
"lint:style": "eslint '**/*.ts'",
"lint:style:fix": "eslint '**/*.ts' --fix",
"prepare": "husky install",
"prepublishOnly": "npm run build"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"preset": "ts-jest",
"moduleNameMapper": {
"^src/(.*)": "<rootDir>/src/$1",
"^test/(.*)": "<rootDir>/test/$1"
},
"coverageDirectory": "./coverage",
"collectCoverageFrom": [
"./src/**/*.ts"
],
"testEnvironment": "node",
"setupFilesAfterEnv": [
"./test/jest-setup.ts"
]
},
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "https://github.com/codibre/sonic-date.git"
},
"homepage": "https://github.com/codibre/sonic-date#readme",
"bugs": {
"url": "https://github.com/codibre/sonic-date/issues"
},
"keywords": [
"moment",
"date",
"date-fns",
"time",
"parse",
"format",
"validate",
"performance",
"faster",
"lightweight"
],
"license": "MIT",
"devDependencies": {
"@codibre/confs": "^1.1.2",
"@nestjs/cli": "^9.3.0",
"@types/benchmark": "^2.1.2",
"@types/dts-bundle": "^0.0.32",
"@types/eslint": "^8.37.0",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.11",
"@types/webpack": "^5.28.1",
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@typescript-eslint/parser": "^5.28.0",
"benchmark": "^2.1.4",
"date-fns": "^4.1.0",
"del-cli": "^3.0.1",
"dts-bundle": "^0.7.3",
"eslint": "^8.57.1",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^7.0.4",
"jest": "^29.5.0",
"jest-callslike": "^0.2.1",
"jest-extended": "^2.0.0",
"moment": "^2.29.4",
"prettier": "^3.4.2",
"ts-jest": "^29.1.0",
"ts-loader": "^9.2.7",
"ts-node": "^10.6.0",
"typedoc": "^0.27.3",
"typedoc-plugin-markdown": "^4.3.1",
"typescript": "^5.7.2",
"webpack": "^5.78.0"
}
}