-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 2.38 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
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "@lather/core",
"version": "0.4.17",
"license": "MIT",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"scripts": {
"build": "esbuild src/index.ts --bundle --platform=node --minify --sourcemap=external --outfile=dist/index.js",
"watch": "esbuild src/index.ts --bundle --watch --sourcemap=external --outfile=dist/index.js",
"dev": "concurrently \"yarn watch\" \"nodemon dist/index.js\"",
"debug": "concurrently \"yarn watch\" \"nodemon --inspect=0.0.0.0 dist/index.js\"",
"test": "jest --coverage",
"example_pages:watch": "esbuild src/examples/pages/index.ts --bundle --watch --sourcemap=external --outfile=dist/pages_example.js",
"example:pages": "concurrently \"yarn example_pages:watch\" \"nodemon dist/pages_example.js\"",
"example_module:watch": "esbuild src/examples/module/index.ts --bundle --platform=node --watch --sourcemap=external --outfile=dist/module_example.js",
"example:module": "concurrently \"yarn example_module:watch\" \"nodemon dist/module_example.js\"",
"example_hello:watch": "esbuild src/examples/hello/index.ts --bundle --platform=node --watch --sourcemap=external --outfile=dist/hello_example.js",
"example:hello": "concurrently \"yarn example_hello:watch\" \"nodemon dist/hello_example.js\"",
"test:watch": "jest --watchAll --coverage",
"docs": "typedoc src/index.ts --excludePrivate --excludeProtected --excludeInternal",
"build:all": "rimraf lib && yarn build:esm && yarn build:cjs",
"build:esm": "tsc --outDir lib/esm",
"build:cjs": "tsc --module commonjs --outDir lib/cjs",
"report-coverage": "cat ./coverage/lcov.info | coveralls"
},
"exports": {
"./": {
"import": "./lib/esm/",
"require": "./lib/cjs/"
}
},
"jest": {
"transform": {
"^.+\\.tsx?$": [
"esbuild-jest",
{
"sourcemap": true,
"loaders": {
".test.ts": "ts"
}
}
]
},
"coveragePathIgnorePatterns": [
"/node_modules/",
"/tests/"
]
},
"devDependencies": {
"@types/jest": "^26.0.24",
"@types/node": "^15.12.5",
"concurrently": "^6.2.0",
"coveralls": "^3.1.1",
"esbuild": "^0.12.12",
"esbuild-jest": "^0.5.0",
"jest": "^27.0.6",
"nodemon": "^2.0.9",
"rimraf": "^3.0.2",
"typedoc": "^0.21.4",
"typescript": "^4.3.4",
"zod": "^3.8.2"
},
"dependencies": {}
}