-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 1.67 KB
/
Copy pathpackage.json
File metadata and controls
56 lines (56 loc) · 1.67 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
{
"name": "full-copy",
"version": "2.0.1",
"description": "This package allows you to create a copy of a given value. It is especially focused on making deep copies to objects in JavaScript.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"./package.json": "./package.json",
"engines": {
"node": ">=18"
},
"files": [
"dist"
],
"sideEffects": false,
"homepage": "https://github.com/ChristBM/full-copy",
"repository": {
"type": "git",
"url": "https://github.com/ChristBM/full-copy"
},
"scripts": {
"clean": "rm -rf dist",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json && node -e \"require('fs').writeFileSync('dist/cjs/package.json','{\\n \\\"type\\\": \\\"commonjs\\\"\\n}\\n')\"",
"build:types": "tsc -p tsconfig.types.json",
"build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:types",
"benchmark": "node --no-deprecation --loader ts-node/esm test/benchmark.ts",
"test:manual": "node --no-deprecation --loader ts-node/esm test/test.ts"
},
"keywords": [
"deep",
"copy",
"object",
"javascript",
"types",
"copy nested objects",
"full"
],
"author": "ChristBM <christian.boffill@gmail.com> (https://github.com/ChristBM)",
"license": "MIT",
"devDependencies": {
"@types/benchmark": "^2.1.5",
"@types/node": "^24.10.0",
"benchmark": "^2.1.4",
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
}
}