Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 3.88 KB
/
Copy pathpackage.json
File metadata and controls
111 lines (111 loc) · 3.88 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "tsc-esm-fix",
"version": "3.1.2",
"bin": {
"tsc-esm-fix": "./target/esm/cli.mjs"
},
"description": "Make tsc-compiled `es2020/esnext` bundles compatible with esm/mjs requirements",
"type": "module",
"exports": {
"types": "./target/dts/index.d.ts",
"import": "./target/esm/index.mjs",
"require": "./target/cjs/index.cjs"
},
"engines": {
"node": ">=18.0.0"
},
"main": "./target/cjs/index.cjs",
"module": "./target/esm/index.mjs",
"scripts": {
"clean": "rimraf target typings flow-typed buildcache docs coverage buildstamp.json",
"lint": "eslint src/**/*.{ts,mjs,js}",
"lint:fix": "yarn lint --fix",
"format": "prettier --write \"scripts/**/*.js\" \"src/main/**/*.ts\" \"src/test/(js|ts)**/*.(t|j)s\"",
"test": "npm-run-all -p -l lint test:unit test:it test:depcheck test:depaudit",
"test:unit": "npx cross-env NODE_OPTIONS=\"--experimental-vm-modules\" jest --config=jest.config.json --runInBand",
"test:it": "npx cross-env NODE_OPTIONS=\"--experimental-vm-modules --experimental-modules\" npx glob-runner src/test/**/*.it.js",
"test:deps": "npm-run-all -p -l test:depcheck test:depauditfix",
"test:depcheck": "npx depcheck --ignore-patterns fixtures --ignores glob-runner,tslib,@types/jest,@types/node,eslint-config-*,typedoc,mkdirp,rimraf",
"test:depaudit": "yarn audit --groups=dependencies --level=moderate; [[ $? -ge 4 ]] && exit 1 || exit 0",
"test:depauditfix": "npx yarn-audit-fix --audit-level=moderate",
"test:report": "yarn test",
"prebuild": "yarn clean && npx buildstamp --git",
"build": "npm-run-all -p -l build:esm build:ts build:dts build:cjs docs && yarn build:fix",
"build:stamp": "npx buildstamp --git",
"build:cjs": "node ./src/scripts/build.mjs --format=cjs --entry=src/main/ts/*.ts",
"build:esm": "tsc -p tsconfig.es6.json --declaration false",
"build:dts": "tsc -p tsconfig.es6.json --emitDeclarationOnly --outDir target/dts",
"build:ts": "cpy ./src/main/ts ./target/ts --flat",
"build:fix": "node src/scripts/build-fix.js",
"docs": "typedoc",
"postupdate": "yarn && yarn test:deps && yarn build && yarn test",
"updeps": "npx npm-upgrade",
"publish:beta": "npm publish --no-git-tag-version --tag beta",
"publish:rc": "npm publish --no-git-tag-version --tag rc"
},
"dependencies": {
"@topoconfig/extends": "^0.16.2",
"depseek": "^0.4.1",
"fast-glob": "^3.3.2",
"fs-extra": "^11.2.0",
"json5": "^2.2.3",
"type-flag": "^4.0.0"
},
"devDependencies": {
"@qiwi/npm-run-all": "^4.1.7",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^30.0.0",
"@types/node": "^24.0.0",
"@types/semver": "^7.5.8",
"cpy-cli": "^5.0.0",
"cross-env": "^7.0.3",
"esbuild": "^0.28.0",
"esbuild-node-externals": "^1.15.0",
"esbuild-plugin-entry-chunks": "^0.1.15",
"esbuild-plugin-extract-helpers": "^0.0.10",
"eslint": "^8.56.0",
"eslint-config-prettier": "^10.0.0",
"eslint-config-qiwi": "^2.1.7",
"glob-runner": "^2.1.1",
"jest": "^30.0.0",
"minimist": "^1.2.8",
"mkdirp": "^3.0.1",
"prettier": "^3.3.3",
"prettier-config-qiwi": "^3.0.0",
"rimraf": "^5.0.8",
"semver": "^7.6.3",
"tempy": "^3.1.0",
"ts-jest": "^29.2.5",
"typedoc": "^0.28.0",
"typescript": "^5.6.3",
"zx": "^8.1.9"
},
"repository": {
"type": "git",
"url": "https://github.com/antongolub/tsc-esm-fix.git"
},
"keywords": [
"tsc",
"esm",
"mjs",
"es2020",
"esnext",
"tsc-esm-fix",
"tsc-es2020-fix"
],
"files": [
"README.md",
"CHANGELOG.md",
"target",
"typings",
"flow-typed",
"buildstamp.json"
],
"author": "Anton Golub <mailbox@antongolub.ru>",
"license": "MIT",
"bugs": {
"url": "https://github.com/antongolub/tsc-esm-fix/issues"
},
"homepage": "https://github.com/antongolub/tsc-esm-fix/#readme",
"prettier": "prettier-config-qiwi"
}