-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
74 lines (74 loc) · 1.96 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
71
72
73
74
{
"name": "@bitty/get",
"version": "1.1.0",
"description": "A really small and type-safe (requires TypeScript >= 4.1.3) function, that gets a nested value from an object using a path string (like 'a.b[0].d'). If value is 'undefined' or unreachable returns the placeholder instead.",
"sideEffects": false,
"cdn": "dist/get.umd.min.js",
"main": "dist/get.js",
"types": "types/get.d.ts",
"unpkg": "dist/get.umd.min.js",
"module": "dist/get.esm.js",
"jsdelivr": "dist/get.umd.min.js",
"umd:main": "dist/get.umd.js",
"exports": {
".": [
{
"import": "./dist/get.mjs",
"default": "./dist/get.js",
"require": "./dist/get.cjs"
},
"./dist/get.js"
]
},
"files": [
"dist/",
"types/"
],
"keywords": [
"get",
"key",
"nested",
"object",
"path",
"paths",
"prop",
"properties",
"property",
"props",
"segment",
"value",
"values"
],
"scripts": {
"lint": "prettier ./src/**/*.ts --check",
"lint:fix": "prettier ./src/**/*.ts --write",
"test": "pnpm run test:compile && pnpm run test:unit",
"test:unit": "ava src/**/*.spec.js",
"test:compile": "tsc -p ./tsconfig.test.json",
"build:compile": "tsc -p ./tsconfig.build.json",
"build:bundle": "rollup --config rollup.config.js",
"build": "pnpm run build:compile && pnpm run build:bundle",
"prepublishOnly": "pnpm run test && pnpm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/VitorLuizC/get.git"
},
"author": {
"url": "https://vitorluizc.github.io/",
"name": "Vitor Luiz Cavalcanti",
"email": "[email protected]"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/VitorLuizC/get/issues"
},
"homepage": "https://github.com/VitorLuizC/get#readme",
"devDependencies": {
"ava": "^4.0.1",
"prettier": "^2.5.1",
"rollup": "^2.63.0",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.5.4"
}
}