-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.52 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 2.52 KB
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
{
"name": "plain-object-helpers",
"version": "0.1.0-beta",
"description": "description",
"main": "dist/index.js",
"files": [
"dist"
],
"scripts": {
"dev": "tsc --watch",
"build": "tsc",
"-----------------------------------------------TEST": "DIVIDER",
"test": "npm run prettier && npm run eslint && npm run jest",
"fix": "npm run prettier -- --write && npm run eslint -- --fix && npm run jest",
"eslint": "eslint src/**/*.ts --cache --cache-location .cache/.eslintcache",
"prettier": "prettier src/**/*.ts --check",
"jest": "jest",
"coverage": "jest --coverage --collectCoverageFrom=\"./src/**/*.ts\"",
"-----------------------------------------------PRE": "DIVIDER",
"prebuild": "del-cli ./dist",
"precoverage": "del-cli ./coverage",
"-----------------------------------------------POST": "DIVIDER",
"postbuild": "prettier dist/**/*.{d.ts,js} --check --write",
"postcoverage": "istanbul-badges-readme"
},
"jest": {
"cacheDirectory": "<rootDir>/.cache/jest",
"coverageReporters": [
"json-summary",
"lcov"
],
"displayName": "tsc",
"testEnvironment": "node",
"moduleFileExtensions": [
"js",
"ts",
"node"
],
"transform": {
"\\.ts": [
"ts-jest"
]
}
},
"eslintConfig": {
"root": true,
"extends": [
"wezom-relax-ts",
"plugin:prettier/recommended"
]
},
"prettier": {
"arrowParens": "always",
"bracketSpacing": true,
"printWidth": 90,
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"tabWidth": 4,
"useTabs": true
},
"repository": {
"type": "git",
"url": "git+https://github.com/JS-Helpers/plain-object-helpers.git"
},
"keywords": [],
"author": "Oleg Dutchenko <dutchenko.o.dev@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/JS-Helpers/plain-object-helpers/issues"
},
"homepage": "https://github.com/JS-Helpers/plain-object-helpers#readme",
"devDependencies": {
"@types/jest": "^25.2.1",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"del-cli": "^3.0.1",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-wezom-relax-ts": "^0.3.1-beta",
"eslint-plugin-flowtype": "^4.7.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-prettier": "^3.1.3",
"istanbul-badges-readme": "^1.0.5",
"jest": "^25.5.3",
"prettier": "^2.0.5",
"ts-jest": "^25.4.0",
"typescript": "^3.8.3"
}
}