add timedotgo ts package for handling js time like go does
This commit is contained in:
36
go/jsruntime/runtime/timedotgo/package.json
Normal file
36
go/jsruntime/runtime/timedotgo/package.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"name": "timedotgo",
|
||||
"version": "1.0.2",
|
||||
"description": "Golangs excellent \"time\" API ported to typescript.",
|
||||
"license": "MIT",
|
||||
"author": "rednexela1941",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/rednexela1941/timedotgo"
|
||||
},
|
||||
"type": "module",
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"files": ["dist", "src", "README.md"],
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npx tsc && npm run docs",
|
||||
"build-test": "npx tsc && node ./build_test.js",
|
||||
"readme": "npm run build-test && ./bin/README.pl > README.md",
|
||||
"tsc": "npx tsc -w",
|
||||
"docs": "npm run readme && npx typedoc",
|
||||
"test": "npm run build-test && node --enable-source-maps tests/out/tests/run_all.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"esbuild": "^0.25.5",
|
||||
"prettier": "^3.5.3",
|
||||
"typedoc": "^0.28.5",
|
||||
"typedoc-plugin-markdown": "^4.6.3",
|
||||
"typescript": "^5.8.3"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user