-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.77 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) · 2.77 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
{
"name": "@ryupold/vode",
"version": "1.11.0",
"description": "a minimalist web framework",
"author": "Michael Scherbakow (ryupold)",
"license": "MIT",
"icon": "icon.webp",
"keywords": [
"minimal",
"web",
"frontend",
"framework",
"library",
"state",
"simple",
"flow",
"lightweight"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ryupold/vode.git"
},
"bugs": {
"url": "https://github.com/ryupold/vode/issues"
},
"homepage": "https://github.com/ryupold/vode#readme",
"type": "module",
"files": [
"dist",
"src",
"index.ts",
"tsconfig.json",
"README.md",
"LICENSE",
"icon.webp",
"logo.webp"
],
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"entrypoint": "./index.ts",
"types": "./dist/vode.d.ts",
"import": "./dist/vode.min.mjs",
"require": "./dist/vode.cjs.min.js",
"default": "./dist/vode.min.mjs"
}
},
"scripts": {
"types": "dts-bundle-generator -o ./dist/vode.d.ts ./index.ts --project tsconfig.json",
"build": "esbuild index.ts --bundle --format=esm --outfile=dist/vode.mjs",
"build-min": "esbuild index.ts --bundle --format=esm --minify --outfile=dist/vode.min.mjs",
"build-classic": "esbuild index.ts --outfile=dist/vode.js --bundle --format=iife --global-name=V",
"build-classic-min": "esbuild index.ts --outfile=dist/vode.min.js --bundle --format=iife --global-name=V --minify",
"babel": "npx babel dist/vode.mjs --minified --out-file dist/vode.cjs.min.js",
"babel-classic": "npx babel dist/vode.js --config-file ./babel.es5.config.json --minified --out-file dist/vode.es5.min.js",
"release": "npm run build && npm run build-min && npm run build-classic && npm run build-classic-min && npm run babel && npm run babel-classic && npm run types && npm run build-tests",
"publish": "npm publish --access public",
"clean": "tsc -b --clean && node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
"watch": "tsc -b -w",
"test": "tsc -p tsconfig.test.json && esbuild test/run-tests.ts --bundle --outfile=test/run-tests.js --platform=node && node test/run-tests.js",
"build-tests": "esbuild test/index.ts --bundle --format=esm --outfile=dist/vode.tests.mjs"
},
"devDependencies": {
"@babel/cli": "8.0.1",
"@babel/core": "8.0.1",
"@babel/preset-env": "8.0.2",
"dts-bundle-generator": "9.5.1",
"esbuild": "0.28.1",
"typescript": "6.0.3"
},
"allowScripts": {
"esbuild@0.28.1": true
}
}