-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
39 lines (39 loc) · 1.42 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
{
"name": "@drashland/rhum",
"version": "2.2.0",
"description": "A test double library",
"main": "./lib/cjs/mod.js",
"types": "./lib/cjs/mod.d.ts",
"repository": "[email protected]:drashland/rhum.git",
"author": "Drash Land",
"license": "MIT",
"scripts": {
"build": "yarn build:esm-lib && yarn && yarn build:esm && yarn build:cjs",
"build:cjs": "tsc --project tsconfig.cjs.json",
"build:conversion-workspace": "deno run --allow-read --allow-write ./console/build_esm_lib.ts",
"build:esm": "tsc --project tsconfig.esm.json",
"build:esm-lib": "console/build_esm_lib ./src ./mod.ts --workspace=./tmp/conversion_workspace --debug",
"build:windows": "bash console/build_esm_lib ./src ./mod.ts --workspace=./tmp/conversion_workspace --debug && yarn && yarn build:cjs && yarn build:esm",
"release": "yarn publish --access public",
"test": "yarn test:deno && yarn test:cjs && yarn test:esm",
"test:cjs": "yarn jest tests/cjs/",
"test:deno": "deno test -A tests/deno/",
"test:esm": "yarn jest tests/esm/",
"validate:nix": "rm -rf node_modules && rm yarn.lock && yarn build && yarn test"
},
"devDependencies": {
"@babel/core": "7.x",
"@babel/preset-env": "7.x",
"@types/jest": "27.x",
"@types/node": "16.x",
"babel-jest": "27.x",
"jest": "27.x",
"ts-jest": "27.x",
"ts-node": "10.x",
"tsc": "2.x",
"typescript": "4.x"
},
"files": [
"./lib"
]
}