-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
46 lines (46 loc) · 1.48 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
{
"name": "js-magic",
"version": "1.4.2",
"description": "JavaScript magic methods support.",
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "index.ts",
"exports": {
"require": "./cjs/index.js",
"import": "./esm/index.js",
"types": "./index.ts"
},
"scripts": {
"build:cjs": "tsc --module commonjs --target es2015 --outDir cjs --sourceMap --strict --noImplicitThis --noImplicitAny --noImplicitReturns index.ts",
"build:esm": "tsc --module esnext --target es2015 --outDir esm --sourceMap --strict --noImplicitThis --noImplicitAny --noImplicitReturns index.ts",
"build": "npm run build:cjs && npm run build:esm",
"prepublishOnly": "npm run build",
"test": "mocha -r ts-node/register test.ts",
"test:bun": "bun run ./node_modules/mocha/bin/mocha test.ts"
},
"engines": {
"node": ">=6"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ayonli/js-magic.git"
},
"keywords": [
"Magic Methods",
"getter",
"setter"
],
"author": "A-yon Lee <the@ayon.li>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ayonli/js-magic/issues"
},
"homepage": "https://github.com/ayonli/js-magic#readme",
"devDependencies": {
"@types/mocha": "^5.2.7",
"@types/node": "^20.6.2",
"mocha": "^5.2.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
}
}