Publish 0.0.1

This commit is contained in:
2022-07-04 09:55:12 +00:00
committed by GitHub
parent 87744a2b25
commit 65841ce965
6 changed files with 59 additions and 4 deletions

View File

@ -2,7 +2,13 @@
"name": "handlers.js",
"description": "Handlers.js is a unified and lightweight web application framework for multiple platforms.",
"version": "0.0.1",
"main": "index.ts",
"main": "./dit/main.node.js",
"webpack": "./dist/index.js",
"browser": "./dist/main.serviceworker.js",
"files": [
"dist",
"LICENSE"
],
"author": "186526 <i@186526.xyz>",
"license": "MIT",
"repository": {
@ -48,10 +54,11 @@
"tsc": "tsc",
"test:node": "jest ./test/node.test.ts",
"test:deno": "BUILD_TARGET=deno:test webpack && jest ./test/deno.test.ts",
"coverage": "jest --collectCoverage --"
"coverage": "jest --collectCoverage --",
"prepublish": "env NODE_ENV=production yarn build && yarn tsc"
},
"engines": {
"node": ">=14.0.0"
},
"type": "module"
}
}