-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
70 lines (70 loc) · 1.72 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
64
65
66
67
68
69
70
{
"name": "@smartlyio/safe-navigation",
"license": "MIT",
"version": "5.1.1",
"description": "typescript and null safe json object navigation",
"private": false,
"author": "Smartly.io",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "yarn jest test/",
"render": "yarn ts-node render.ts",
"build": "rm -rf ./dist/* && yarn lint && yarn test && yarn render && tsc",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint --fix . --ext .ts",
"prepublish": "yarn build"
},
"repository": {
"type": "git",
"url": "https://github.com/smartlyio/safe-navigation.git"
},
"dependencies": {
"lodash": "^4.17.21"
},
"keywords": [
"safe navigation",
"typescript",
"union type",
"elvis operator",
"optional chaining"
],
"devDependencies": {
"@types/jest": "29.5.12",
"@types/lodash": "4.17.0",
"@types/node": "20.11.28",
"@typescript-eslint/eslint-plugin": "7.2.0",
"@typescript-eslint/parser": "7.2.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-filenames": "1.3.2",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jest": "27.9.0",
"eslint-plugin-prettier": "5.1.3",
"jest": "29.7.0",
"jsverify": "0.8.4",
"prettier": "3.2.5",
"ts-jest": "29.1.2",
"ts-node": "10.9.2",
"typescript": "5.4.2"
},
"jest": {
"testEnvironment": "node",
"globals": {
"ts-jest": {
"skipBabel": true
}
},
"testRegex": "test/.*\\.spec.(jsx?|tsx?)$",
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
]
}
}