@dekkai/data-source
Version:
Data source wrapper for local and remote files. Works on browsers, node.js and deno.
78 lines (77 loc) • 2.77 kB
JSON
{
"name": "@dekkai/data-source",
"version": "0.2.3",
"description": "Data source wrapper for local and remote files. Works on browsers, node.js and deno.",
"main": "build/lib/mod.js",
"repository": "https://github.com/dekkai-data/data-source.git",
"author": "Dario Segura darionco.dev@gmail.com",
"license": "MIT",
"type": "module",
"files": [
"build/",
"src/"
],
"keywords": [
"data",
"source",
"remote",
"local",
"browser",
"deno",
"node"
],
"scripts": {
"clean": "rimraf build",
"build": "run-p build:**",
"build:scripts": "rollup --config",
"build:types": "tsc --declaration --emitDeclarationOnly --skipLibCheck --outDir ./build/lib",
"docs": "typedoc --out ./docs --entryPoints src/mod.ts --exclude 'node_modules/**/*' --includeVersion --excludeInternal",
"watch": "yarn build --watch",
"test": "run-s -c build test:prepare test:run test:teardown",
"test:prepare": "pm2 start ./spec/env/TestFileServer.mjs",
"test:run": "run-s -c test:run:**",
"test:run:node": "mocha spec/env/node.suite.js",
"test:run:browser": "karma start --single-run --browsers ChromeHeadless karma.conf.cjs",
"test:run:deno": "deno test spec/env/deno.suite.js --allow-env --allow-read --allow-net --location http://localhost:0",
"test:teardown": "pm2 stop ./spec/env/TestFileServer.mjs",
"lint": "eslint --config ./.eslintrc.cjs \"./{src,spec}/**/*.{js,ts}\"",
"prepack": "run-s clean test lint",
"pre-push": "run-p pre-push:**",
"pre-push:lint": "yarn lint",
"pre-push:test": "yarn test"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^13.0.0",
"@types/node": "^16.3.1",
"@typescript-eslint/eslint-plugin": "^4.28.3",
"@typescript-eslint/parser": "^4.28.3",
"chai": "^4.3.4",
"eslint": "^7.30.0",
"globby": "^11.0.4",
"husky": "^7.0.1",
"karma": "^6.3.4",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"mocha": "^9.0.2",
"npm-run-all": "^4.1.5",
"pm2": "^5.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.53.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.30.0",
"tslib": "^2.3.0",
"typedoc": "^0.21.4",
"typescript": "^4.3.5"
},
"husky": {
"hooks": {
"pre-push": "yarn pre-push"
}
},
"dependencies": {
"@dekkai/env": "^1.1.0",
"@dekkai/event-emitter": "^1.1.0"
}
}