-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 3.65 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
105
106
107
{
"name": "fastpm",
"author": "stagas",
"short": "stagas/fastpm",
"description": "Fast package manager for Node.js.",
"version": "1.0.1",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://git@github.com:stagas/fastpm.git"
},
"keywords": [
"fast",
"npm",
"package",
"install"
],
"types": "./dist/types/index.d.ts",
"module": "dist/esm/index.js",
"main": "dist/cjs/index.js",
"bin": {
"fastpm": "dist/cjs/cli.js"
},
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"files": [
"dist",
"!**/*.tsbuildinfo"
],
"scripts": {
"start:web": "vite-open example/web.ts",
"start:node": "onchange -i src example -- swcno example/node.ts",
"build:watch": "tsc -p tsconfig.dist.json --outDir dist/types --watch & swc -w -C module.type=commonjs ./src -d dist/cjs -w & swc -w -C module.type=es6 ./src -d dist/esm",
"build:dist": "npm run build:bundle && npm run build:min",
"cov:watch": "jest --coverage --watchAll",
"clean": "rimraf dist",
"docs": "dokio -o README.md && dprint fmt README.md",
"test": "npm run test:node && npm run test:web",
"test:node": "if find test -type f -iregex '.*\\.spec\\.\\(js\\|jsx\\|ts\\|tsx\\)$' | grep -q .; then jest; else echo no node tests; fi",
"test:web": "if find test -type f -iregex '.*\\.spec\\.web\\.\\(js\\|jsx\\|ts\\|tsx\\)$' | grep -q .; then web-test-runner; else echo no web tests; fi",
"cov": "jest --coverage",
"build": "npm run build:cjs & npm run build:esm & npm run build:types && echo done.",
"build:cjs": "swc -C module.type=commonjs ./src -d dist/cjs",
"build:esm": "swc -C module.type=es6 ./src -d dist/esm && echo '{\"type\":\"module\"}' >dist/esm/package.json",
"build:types": "tsc -p tsconfig.dist.json --outDir dist/types",
"build:bundle": "bunzee src/index.ts \"dist/$(cat package.json | jq -r '.name').js\"",
"build:min": "bunzee -m src/index.ts \"dist/$(cat package.json | jq -r '.name').min.js\"",
"start:web:https": "vite-open --https example/web.ts",
"lint": "eslint src && dprint check",
"lint:fix": "eslint --fix src && dprint fmt",
"prepack": "npm run clean && npm run build && (npm run build:dist || echo unable to bundle)",
"prepack:dry": "npm pack --dry-run",
"prepush": "npm run lint && npm run test",
"prepare": "husky install"
},
"trustedDependencies": [
"@stagas/jest-node-exports-resolver",
"bunzee",
"decarg",
"pull-configs",
"vite-open",
"wtr-plugin-vite"
],
"devDependencies": {
"@n1kk/intspector": "1.0.2",
"@stagas/jest-node-exports-resolver": "1.1.5-require-basedir-2",
"@swc-node/jest": "1.5.2",
"@swc/cli": "0.1.57",
"@swc/core": "1.2.185",
"@tsconfig/node16": "1.0.2",
"@types/audioworklet": "0.0.28",
"@types/jest": "27.5.1",
"@types/node": "17.0.34",
"@types/semver": "7.3.9",
"@types/webmidi": "2.0.6",
"@typescript-eslint/eslint-plugin": "5.24.0",
"@typescript-eslint/parser": "5.24.0",
"@web/test-runner": "0.13.27",
"bunzee": "^0.0.1",
"chokidar": "3.5.3",
"dprint": "0.28.0",
"eslint": "8.15.0",
"eslint-config-html-jsx": "1.0.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-react": "7.29.4",
"husky": "7.0.4",
"jest": "27.5.1",
"jest-browser-globals": "25.1.0-beta",
"onchange": "7.1.0",
"pull-configs": "^0.2.0",
"rimraf": "3.0.2",
"swcno": "0.1.1",
"ts-jest": "27.1.4",
"ts-node": "10.7.0",
"typescript": "4.6.4",
"vite-open": "^2.0.2",
"wtr-plugin-vite": "^0.0.3"
},
"dependencies": {
"decarg": "1.2.0",
"semver": "7.3.7"
}
}