127 lines
4.8 KiB
JSON
127 lines
4.8 KiB
JSON
{
|
|
"name": "@nevware21/ts-async",
|
|
"description": "support for asynchronous development with a Promise based task Scheduler, several different Promise implementations (synchronous, idle, asynchronous and native runtime wrappers), await helpers, and aliases all built and tested using TypeScript.",
|
|
"version": "0.6.1",
|
|
"homepage": "https://github.com/nevware21/ts-async",
|
|
"funding": [
|
|
{
|
|
"type": "github",
|
|
"url": "https://github.com/sponsors/nevware21"
|
|
},
|
|
{
|
|
"type": "buymeacoffee",
|
|
"url": "https://www.buymeacoffee.com/nevware21"
|
|
}
|
|
],
|
|
"sideEffects": false,
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "NevWare21 Solutions LLC",
|
|
"email": "github+ts_async@nevware21.com"
|
|
},
|
|
"keywords": [
|
|
"typescript",
|
|
"javascript",
|
|
"es5",
|
|
"promise",
|
|
"es6.promise",
|
|
"async",
|
|
"asynchronous",
|
|
"async promise",
|
|
"asynchronous promise",
|
|
"sync",
|
|
"synchronous",
|
|
"sync promise",
|
|
"synchronous promise",
|
|
"idle",
|
|
"idle promise",
|
|
"requestIdleCallback",
|
|
"minification",
|
|
"browser",
|
|
"promise polyfill",
|
|
"scheduler",
|
|
"task scheduler"
|
|
],
|
|
"main": "dist/es5/main/ts-async.js",
|
|
"esnext:main": "dist/es6/main/ts-async.js",
|
|
"module": "dist/es5/mod/ts-async.js",
|
|
"esnext": "dist/es6/mod/ts-async.js",
|
|
"types": "dist/types/ts-async.d.ts",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/nevware21/ts-async.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/nevware21/ts-async/issues"
|
|
},
|
|
"licenses": [
|
|
{
|
|
"type": "MIT",
|
|
"url": "https://github.com/nevware21/ts-async/blob/main/LICENSE"
|
|
}
|
|
],
|
|
"scripts": {
|
|
"build": "npm run preproc && grunt ts_async --verbose && npm run preproc -- -restore && npm run package && npm run dtsgen",
|
|
"rebuild": "npm run build && npm run test",
|
|
"package": "rollup -c rollup.config.js --bundleConfigAsCjs",
|
|
"test": "npm run preproc test && grunt ts_async-test && npm run test:node && npm run test:browser && npm run test:worker && npm run coverage:report&& npm run preproc -- -restore",
|
|
"test:node": "nyc ts-mocha --type-check -p ./test/tsconfig.test.json \"./test/src/!(browser|worker)/**/*.test.ts\" --trace-uncaught",
|
|
"test:browser": "karma start karma.browser.conf.js --single-run",
|
|
"test:worker": "karma start karma.worker.conf.js --single-run",
|
|
"debug:browser": "karma start karma.debug.browser.conf.js --watch",
|
|
"debug:worker": "karma start karma.debug.worker.conf.js --watch",
|
|
"lint": "grunt ts_async-lint",
|
|
"coverage:report": "npm run coverage:nyc && npm run coverage:merge",
|
|
"coverage:nyc": "nyc report --reporter=json",
|
|
"coverage:merge": "merge-coverage",
|
|
"codecov": "npm run coverage:report",
|
|
"clean": "git clean -xdf && npm install",
|
|
"cleanBuild": "npm run clean && npm run rebuild && npm run docs",
|
|
"docs": "cd .. && npx typedoc",
|
|
"rush-update": "rush update --recheck --purge --full",
|
|
"dtsgen": "api-extractor run --local --verbose && node scripts/setTsReferences.js",
|
|
"preproc": "ts-preproc -C ../preproc.json -R .."
|
|
},
|
|
"dependencies": {
|
|
"@nevware21/ts-utils": ">= 0.15.0 < 2.x"
|
|
},
|
|
"devDependencies": {
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
"@microsoft/api-extractor": "^7.48.1",
|
|
"@nevware21/tripwire": ">= 0.1.8 < 2.x",
|
|
"@nevware21/ts-preproc": "^0.1.4",
|
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
"@rollup/plugin-json": "^6.0.0",
|
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
"@rollup/plugin-strip": "^3.0.2",
|
|
"@rollup/plugin-typescript": "^12.1.1",
|
|
"@types/mocha": "^10.0.1",
|
|
"@types/sinon": "^21.0.0",
|
|
"chromium": "^3.0.3",
|
|
"copyfiles": "^2.4.1",
|
|
"cross-env": "^10.1.0",
|
|
"grunt": "^1.6.2",
|
|
"grunt-cli": "^1.4.3",
|
|
"karma": "^6.3.20",
|
|
"karma-chrome-launcher": "^3.1.1",
|
|
"karma-mocha": "^2.0.1",
|
|
"karma-spec-reporter": "^0.0.36",
|
|
"karma-typescript": "^5.5.3",
|
|
"mocha": "^10.0.0",
|
|
"nyc": "^18.0.0",
|
|
"puppeteer": "^25.0.2",
|
|
"rollup": "^4.26.0",
|
|
"rollup-plugin-cleanup": "^3.2.1",
|
|
"rollup-plugin-istanbul": "^5.0.0",
|
|
"rollup-plugin-minify-es": "^1.1.1",
|
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
"sinon": "^14.0.0",
|
|
"ts-mocha": "^11.1.0",
|
|
"typedoc": "^0.28.2",
|
|
"typedoc-github-theme": "^0.4.0",
|
|
"typescript": "~5.2.2",
|
|
"uglify-js": "^3.15.5"
|
|
}
|
|
}
|
|
|