mirror of
https://github.com/ImSingee/hammal.git
synced 2024-12-23 02:29:22 +08:00
31 lines
940 B
JSON
31 lines
940 B
JSON
|
{
|
||
|
"name": "pname",
|
||
|
"version": "1.0.0",
|
||
|
"description": "Cloudflare worker TypeScript template",
|
||
|
"main": "index.js",
|
||
|
"scripts": {
|
||
|
"build": "webpack",
|
||
|
"dev": "NODE_ENV=development npm run build",
|
||
|
"format": "prettier --write '**/*.{ts,js,css,json,md}'",
|
||
|
"test:clean": "rimraf ./transpiled/src ./transpiled/test",
|
||
|
"test": "npm run test:clean && npm run transpile && mocha --require source-map-support/register --recursive transpiled/test",
|
||
|
"transpile": "tsc --project ./test"
|
||
|
},
|
||
|
"author": "author",
|
||
|
"license": "MIT OR Apache-2.0",
|
||
|
"devDependencies": {
|
||
|
"@cloudflare/workers-types": "^2.0.0",
|
||
|
"@types/chai": "^4.2.11",
|
||
|
"@types/mocha": "^7.0.2",
|
||
|
"chai": "^4.2.0",
|
||
|
"mocha": "^8.0.1",
|
||
|
"prettier": "^2.0.5",
|
||
|
"rimraf": "^3.0.2",
|
||
|
"service-worker-mock": "^2.0.5",
|
||
|
"ts-loader": "^7.0.5",
|
||
|
"typescript": "^3.9.5",
|
||
|
"webpack": "^4.43.0",
|
||
|
"webpack-cli": "^3.3.12"
|
||
|
}
|
||
|
}
|