-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
51 lines (51 loc) · 1.43 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
{
"name": "hanbi",
"version": "1.0.3",
"description": "A small javascript library for stubbing and spying on methods/functions.",
"type": "module",
"types": "./lib/main.d.ts",
"main": "./lib/cjs/main.cjs",
"module": "./lib/main.js",
"exports": {
"import": "./lib/main.js",
"default": "./lib/cjs/main.cjs"
},
"files": [
"lib",
"!lib/test"
],
"scripts": {
"clean": "rimraf ./lib",
"lint": "eslint \"src/**/*.ts\"",
"prebuild": "npm run clean",
"build:cjs": "esbuild --outdir=lib/cjs --format=cjs --out-extension:.js=.cjs src/main.ts",
"build": "tsc && npm run build:cjs",
"test": "mocha lib",
"format": "prettier --write \"src/**/*.ts\"",
"prepare": "npm run build",
"prepublishOnly": "npm run lint && npm run test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/43081j/hanbi.git"
},
"author": "James Garbutt (https://github.com/43081j)",
"license": "MIT",
"bugs": {
"url": "https://github.com/43081j/hanbi/issues"
},
"homepage": "https://github.com/43081j/hanbi#readme",
"devDependencies": {
"@types/chai": "^4.3.11",
"@types/mocha": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"chai": "^4.3.10",
"esbuild": "^0.19.9",
"eslint": "^8.55.0",
"eslint-config-google": "^0.14.0",
"mocha": "^10.2.0",
"prettier": "^3.1.1",
"typescript": "^5.3.3"
}
}