-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 1.53 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
{
"name": "@turist/time",
"version": "0.0.2",
"description": "Making time pass faster on the ship",
"main": "lib/index.js",
"scripts": {
"build": "rm -rf ./lib && tsc",
"lint": "eslint --ext .ts './{src,__test__,__perf__}/**/*.ts'",
"perf": "node --prof ./node_modules/.bin/ts-node __perf__/",
"prettier": "prettier --write './{src,__test__,__perf__}/**/*.ts'",
"test": "jest --runInBand --clearCache && jest --coverage",
"prepublish": "npm run build"
},
"files": [
"lib"
],
"license": "MIT",
"repository": "turist-cloud/time",
"pre-commit": "lint:staged",
"lint-staged": {
"*.js": [
"eslint",
"prettier --write --single-quote"
]
},
"eslintConfig": {
"plugins": [
"jest"
],
"extends": [
"plugin:jest/recommended",
"airbnb",
"prettier"
],
"rules": {
"no-param-reassign": 0,
"no-plusplus": 0,
"no-restricted-properties": 0,
"no-restricted-syntax": 0,
"no-underscore-dangle": 0,
"prefer-arrow-callback": 0
}
},
"devDependencies": {
"@types/jest": "25.2.3",
"@types/node": "14.0.5",
"@typescript-eslint/eslint-plugin": "3.0.0",
"@typescript-eslint/parser": "3.0.0",
"eslint": "7.0.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-prettier": "3.1.3",
"jest": "26.0.1",
"prettier": "2.0.5",
"tmp-promise": "3.0.2",
"ts-jest": "26.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5"
},
"jest": {
"preset": "ts-jest",
"verbose": true
}
}