-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
59 lines (59 loc) · 1.56 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
{
"name": "@gravity-ui/date-utils",
"version": "2.5.6",
"description": "Gravity UI date helpers",
"main": "build/index.js",
"types": "build/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/gravity-ui/date-utils"
},
"license": "MIT",
"scripts": {
"build": "rm -rf build && tsc -p tsconfig.publish.json",
"lint": "npm run lint:js && npm run lint:other",
"lint:js": "eslint --ext .ts,.js .",
"lint:other": "npm run prettier -- --check",
"prettier": "prettier '**/*.{md,yaml,yml,json}'",
"test": "jest",
"test:watch": "jest --watchAll",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run lint && npm run test && npm run build",
"updateLocales": "node scripts/updateLocales.js",
"prepare": "husky"
},
"files": [
"build"
],
"devDependencies": {
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@gravity-ui/eslint-config": "^3.2.0",
"@gravity-ui/prettier-config": "^1.1.0",
"@gravity-ui/tsconfig": "^1.0.0",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.7",
"@types/sinon": "^17.0.3",
"eslint": "^8.57.0",
"husky": "^9.1.5",
"jest": "^29.7.0",
"mockdate": "^3.0.5",
"nano-staged": "^0.8.0",
"prettier": "^3.3.3",
"sinon": "^18.0.0",
"ts-jest": "^29.2.4",
"typescript": "^5.5.4"
},
"dependencies": {
"dayjs": "1.11.10",
"lodash": "^4.17.0"
},
"nano-staged": {
"*.{js,ts}": [
"eslint --fix --quiet"
],
"*.{md,yaml,yml,json}": [
"prettier --write"
]
}
}