forked from shigma/cosmokit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
46 lines (46 loc) · 1.47 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": "cosmokit",
"description": "A collection of common utilities",
"version": "1.3.6",
"sideEffects": false,
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"typings": "lib/index.d.ts",
"files": [
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/shigma/cosmokit.git"
},
"bugs": {
"url": "https://github.com/shigma/cosmokit/issues"
},
"homepage": "https://github.com/shigma/cosmokit",
"author": "Shigma <[email protected]>",
"license": "MIT",
"scripts": {
"compile:cjs": "esbuild src/index.ts --outfile=lib/index.cjs --bundle --sourcemap --platform=node --target=es2019",
"compile:esm": "esbuild src/index.ts --outfile=lib/index.mjs --bundle --sourcemap --platform=neutral --target=esnext",
"build": "yarn compile:cjs && yarn compile:esm && yarn dtsc",
"test": "mocha -r esbuild-register tests/*.spec.ts",
"test:text": "shx rm -rf coverage && c8 -r text yarn test",
"test:json": "shx rm -rf coverage && c8 -r json yarn test",
"test:html": "shx rm -rf coverage && c8 -r html yarn test"
},
"devDependencies": {
"@sinonjs/fake-timers": "^6.0.1",
"@types/chai": "^4.3.4",
"@types/mocha": "^9.1.1",
"@types/node": "^18.11.9",
"@types/sinonjs__fake-timers": "^6.0.4",
"c8": "^7.12.0",
"chai": "^4.3.7",
"dtsc": "^2.3.0",
"esbuild": "^0.14.54",
"esbuild-register": "^3.4.1",
"mocha": "^9.2.2",
"shx": "^0.3.4",
"typescript": "^4.9.3"
}
}