-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 1.39 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
{
"name": "@worksolutions/utils",
"private": false,
"version": "1.4.25",
"description": "",
"types": "dist/esm/index.d.ts",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"scripts": {
"format": "prettier --write --list-different \"src/**/*.{ts,tsx,js,json,yml}\"",
"build": "rm -rf dist && NODE_ENV=production && tsc --module ESNext --outDir dist/esm && tsc --module commonjs --outDir dist/cjs",
"test": "jest",
"test:coverage": "jest --coverage",
"prepublish": "npm run test && npm run build",
"lint": "eslint \"src/**/*.ts\""
},
"repository": {
"type": "git",
"url": "https://github.com/worksolutions/frontend-utils"
},
"author": "Anatoly Grabarov",
"license": "ISC",
"declaration": true,
"sideEffects": false,
"devDependencies": {
"@types/jest": "*",
"@types/node": "*",
"husky": "^4.3.8",
"jest": "^27.5.1",
"lint-staged": "^10.5.4",
"prettier": "*",
"ts-jest": "^27.1.3",
"typescript": "^4.6.2"
},
"dependencies": {
"luxon": "^3.*",
"@types/luxon": "^3.*",
"@worksolutions/eslint-config-common": "^1.0.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json}": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"eslintConfig": {
"extends": [
"@worksolutions/common"
]
}
}