generated from qiwi/blank-ts-repo
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
104 lines (104 loc) · 3.61 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
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
{
"name": "tsc-esm-fix",
"version": "2.20.27",
"bin": {
"tsc-esm-fix": "./target/es6/cli.mjs"
},
"description": "Make tsc-compiled `es2020/esnext` bundles compatible with esm/mjs requirements",
"type": "module",
"exports": {
"import": "./target/es6/index.mjs",
"require": "./target/bundle/tsc-esm-fix.cjs"
},
"engines": {
"node": ">=16.0.0"
},
"main": "target/bundle/tsc-esm-fix.js",
"module": "target/bundle/tsc-esm-fix.mjs",
"unpkg": "target/bundle/tsc-esm-fix.umd.js",
"scripts": {
"clean": "rimraf target typings flow-typed buildcache docs coverage buildstamp.json",
"lint": "eslint src/**/*.{ts,js} scripts",
"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:es6 build:ts build:bundle docs && yarn build:fix",
"build:es6": "mkdirp target/es6 && tsc -p tsconfig.es6.json",
"build:ts": "cpy ./src/main/ts ./target/ts --flat",
"build:bundle": "microbundle --tsconfig tsconfig.es6.json build src/main/ts/index.ts -o target/bundle",
"build:fix": "node scripts/js/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": {
"depseek": "^0.4.1",
"fs-extra": "^11.2.0",
"globby": "^13.2.2",
"json5": "^2.2.3",
"meow": "^12.1.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@qiwi/npm-run-all": "^4.1.7",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.7",
"@types/semver": "^7.5.8",
"cpy-cli": "^5.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-qiwi": "^2.1.3",
"glob-runner": "^2.1.1",
"jest": "^29.7.0",
"microbundle": "^0.15.1",
"mkdirp": "^3.0.1",
"prettier": "^3.2.5",
"prettier-config-qiwi": "^2.1.2",
"rimraf": "^5.0.5",
"semver": "^7.6.0",
"tempy": "^3.1.0",
"ts-jest": "^29.1.2",
"typedoc": "^0.25.13",
"typescript": "^5.4.5"
},
"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"
}