-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
1,939 additions
and
1,829 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,68 @@ | ||
{ | ||
"name": "handlers.js", | ||
"description": "Handlers.js is a unified and lightweight web application framework for multiple platforms.", | ||
"version": "0.1.1", | ||
"main": "./dist/index.js", | ||
"webpack": "./dist/index.js", | ||
"browser": "./dist/main.serviceworker.js", | ||
"module": "./dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist", | ||
"LICENSE" | ||
], | ||
"author": "186526 <[email protected]>", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/186526/handlers.js" | ||
}, | ||
"keywords": [ | ||
"web framework", | ||
"lightweight", | ||
"cross-platform", | ||
"unified" | ||
], | ||
"dependencies": { | ||
"path-to-regexp": "^6.2.1" | ||
}, | ||
"devDependencies": { | ||
"@cloudflare/workers-types": "^3.13.0", | ||
"@types/jest": "^28.1.4", | ||
"@types/node": "^18.0.0", | ||
"@webpack-cli/generators": "^2.5.0", | ||
"axios": "^0.27.2", | ||
"bluebird": "^3.7.2", | ||
"bun-types": "^0.1.4", | ||
"jest": "^28.1.2", | ||
"prettier": "^2.7.1", | ||
"ts-jest": "^28.0.5", | ||
"ts-loader": "^9.3.1", | ||
"ts-node": "^10.8.1", | ||
"typescript": "^4.7.4", | ||
"webpack": "^5.73.0", | ||
"webpack-cli": "^4.10.0" | ||
}, | ||
"sideEffects": false, | ||
"scripts": { | ||
"build": "yarn clean && yarn build:node && yarn build:serviceworker && yarn build:cfworker && yarn build:deno && yarn build:txiki && yarn build:bun", | ||
"build:node": "BUILD_TARGET=node webpack", | ||
"build:serviceworker": "BUILD_TARGET=serviceworker webpack", | ||
"build:cfworker": "BUILD_TARGET=cfworker webpack", | ||
"build:deno": "BUILD_TARGET=deno webpack", | ||
"build:txiki": "BUILD_TARGET=txiki webpack", | ||
"build:bun": "BUILD_TARGET=bun webpack", | ||
"watch": "webpack --watch", | ||
"clean": "rm -rf ./dist", | ||
"demo": "env NODE_ENV=development yarn build:node && node ./dist/main.node.js", | ||
"tsc": "tsc", | ||
"test:node": "jest ./test/node.test.ts", | ||
"test:deno": "BUILD_TARGET=deno:test webpack && jest ./test/deno.test.ts", | ||
"coverage": "jest --collectCoverage --", | ||
"prepublish": "env NODE_ENV=production yarn build && yarn tsc" | ||
}, | ||
"engines": { | ||
"node": ">=14.0.0" | ||
}, | ||
"type": "module" | ||
} | ||
"name": "handlers.js", | ||
"description": "Handlers.js is a unified and lightweight web application framework for multiple platforms.", | ||
"version": "0.1.1-1", | ||
"main": "./dist/index.js", | ||
"webpack": "./dist/index.js", | ||
"browser": "./dist/main.serviceworker.js", | ||
"module": "./dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist", | ||
"LICENSE" | ||
], | ||
"author": "186526 <[email protected]>", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/186526/handlers.js" | ||
}, | ||
"keywords": [ | ||
"web framework", | ||
"lightweight", | ||
"cross-platform", | ||
"unified" | ||
], | ||
"dependencies": { | ||
"path-to-regexp": "^6.2.1" | ||
}, | ||
"devDependencies": { | ||
"@cloudflare/workers-types": "^3.13.0", | ||
"@types/jest": "^28.1.4", | ||
"@types/node": "^18.0.0", | ||
"@webpack-cli/generators": "^2.5.0", | ||
"axios": "^0.27.2", | ||
"bluebird": "^3.7.2", | ||
"bun-types": "^0.1.4", | ||
"jest": "^28.1.2", | ||
"prettier": "^2.7.1", | ||
"ts-jest": "^28.0.5", | ||
"ts-loader": "^9.3.1", | ||
"ts-node": "^10.8.1", | ||
"typescript": "^4.7.4", | ||
"webpack": "^5.73.0", | ||
"webpack-cli": "^4.10.0" | ||
}, | ||
"sideEffects": false, | ||
"scripts": { | ||
"build": "yarn clean && yarn build:node && yarn build:serviceworker && yarn build:cfworker && yarn build:deno && yarn build:txiki && yarn build:bun", | ||
"build:node": "BUILD_TARGET=node webpack", | ||
"build:serviceworker": "BUILD_TARGET=serviceworker webpack", | ||
"build:cfworker": "BUILD_TARGET=cfworker webpack", | ||
"build:deno": "BUILD_TARGET=deno webpack", | ||
"build:txiki": "BUILD_TARGET=txiki webpack", | ||
"build:bun": "BUILD_TARGET=bun webpack", | ||
"watch": "webpack --watch", | ||
"clean": "rm -rf ./dist", | ||
"demo": "env NODE_ENV=development yarn build:node && node ./dist/main.node.js", | ||
"tsc": "tsc", | ||
"test:node": "jest ./test/node.test.ts", | ||
"test:deno": "BUILD_TARGET=deno:test webpack && jest ./test/deno.test.ts", | ||
"coverage": "jest --collectCoverage --", | ||
"prepublish": "env NODE_ENV=production yarn build && yarn tsc" | ||
}, | ||
"engines": { | ||
"node": ">=14.0.0" | ||
}, | ||
"type": "module" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.