-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.45 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": "common-package",
"version": "1.0.7",
"description": "A package that contains commonly used algorithms and datastructures.",
"main": "build/index.js",
"types": "build/index.d.ts",
"author": "<[email protected]>",
"license": "MIT",
"keywords": [
"Package",
"Common"
],
"repository": {
"type": "git",
"url": "https://github.com/danmandel/common.git"
},
"scripts": {
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"clean": "rm -rf ./build",
"build": "npm run clean && tsc",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"test": "jest",
"test:watch": "jest --watch",
"release": "npm publish",
"update-all": "npx npm-check-updates -u"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^17.0.18",
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.5.1",
"prettier": "^2.5.1",
"ts-jest": "^27.1.3",
"typescript": "^4.5.5"
},
"jest": {
"transform": {
"^.+\\.(t|j)sx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}