-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 2.78 KB
/
Copy pathpackage.json
File metadata and controls
96 lines (96 loc) · 2.78 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
91
92
93
94
95
96
{
"name": "@scrrlt/safe-tag",
"version": "1.0.0",
"type": "commonjs",
"description": "A zero-dependency utility for retrieving Object.prototype.toString tags. It is designed to handle hostile or exotic objects that cause native implementations to throw exceptions.",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./fast": {
"types": "./dist/fast.d.ts",
"import": "./dist/fast.mjs",
"require": "./dist/fast.js"
}
},
"files": [
"dist",
"examples",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"scripts": {
"build": "tsup src/index.ts src/fast.ts --format cjs,esm --dts --clean --minify --sourcemap",
"pretest": "npm run build",
"test": "node test/index.test.js",
"test:integration": "node test/integration.test.js",
"test:all": "npm run test && npm run test:integration",
"test:src": "tsx --tsconfig tsconfig.json test/index.src.test.ts",
"test:src:integration": "tsx --tsconfig tsconfig.json test/integration.src.test.ts",
"test:src:all": "npm run test:src && npm run test:src:integration",
"prebench": "npm run build",
"bench": "node bench/index.js",
"examples": "node examples/run-examples.js",
"prepublishOnly": "npm run test:all && npm run build",
"dev": "tsup src/index.ts src/fast.ts --format cjs,esm --dts --watch",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"format": "prettier . --write",
"security-audit": "npm audit --audit-level moderate",
"update-deps": "npm update --save"
},
"keywords": [
"toStringTag",
"safe",
"defensive",
"proxy",
"resilient",
"type-check",
"object",
"toString",
"unmasking",
"lodash",
"zero-dependency",
"typescript",
"performance",
"security",
"cross-realm"
],
"author": "Scarlet Moore <scarlet.moore@outlook.com.au> (https://scrrlt.dev)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/scrrlt/safe-tag.git"
},
"bugs": {
"url": "https://github.com/scrrlt/safe-tag/issues"
},
"homepage": "https://github.com/scrrlt/safe-tag#readme",
"engines": {
"node": ">=18.0.0"
},
"sideEffects": false,
"funding": {
"type": "github",
"url": "https://github.com/sponsors/scrrlt"
},
"devDependencies": {
"@eslint/js": "^8.57.0",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"globals": "^15.0.0",
"prettier": "^3.0.0",
"tsx": "^4.0.0",
"tsup": "^8.0.0",
"typescript": "^5.0.0"
}
}