-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 1.81 KB
/
package.json
File metadata and controls
68 lines (68 loc) · 1.81 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
{
"name": "safe-json-parse-and-stringify",
"version": "0.2.1",
"description": "provide safe jsonParse and jsonStringify",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/RichieChoo/safe-json-parse-and-stringify.git"
},
"bugs": {
"url": "https://github.com/RichieChoo/safe-json-parse-and-stringify/issues"
},
"homepage": "https://github.com/RichieChoo/safe-json-parse-and-stringify",
"scripts": {
"clean": "rimraf dist",
"build": "npm run clean && tsc",
"test": "jest",
"test:coverage": "jest --coverage",
"lint": "tslint 'src/**/*.ts'",
"prettier": "prettier --parser typescript --write '**/*.ts'",
"precommit": "lint-staged",
"postversion": "git push origin master --tags --no-verify",
"prepublishOnly": "npm run test && npm run build"
},
"author": "richiechoo1993",
"license": "MIT",
"devDependencies": {
"@types/jest": "26.0.24",
"@types/node": "11.13.0",
"husky": "7.0.1",
"jest": "27.0.6",
"lint-staged": "11.1.1",
"prettier": "2.3.2",
"rimraf": "3.0.2",
"ts-jest": "27.0.4",
"ts-node": "10.1.0",
"tslint": "6.1.3",
"tslint-config-prettier": "1.18.0",
"typescript": "4.3.5"
},
"lint-staged": {
"*.ts": [
"prettier --parser typescript --write",
"git add"
]
},
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"collectCoverageFrom": [
"src/**/*.{ts,tsx}"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
},
"dependencies": {
"@types/json-stringify-safe": "^5.0.0",
"@types/lodash.clonedeep": "^4.5.6",
"json-stringify-safe": "^5.0.1",
"lodash.clonedeep": "^4.5.0"
}
}