153 lines
4.6 KiB
JSON
153 lines
4.6 KiB
JSON
{
|
|
"_from": "dexie",
|
|
"_id": "dexie@2.0.4",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-aQ/s1U2wHxwBKRrt2Z/mwFNHMQWhESerFsMYzE+5P5OsIe5o1kgpFMWkzKTtkvkyyEni6mWr/T4HUJuY9xIHLA==",
|
|
"_location": "/dexie",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "tag",
|
|
"registry": true,
|
|
"raw": "dexie",
|
|
"name": "dexie",
|
|
"escapedName": "dexie",
|
|
"rawSpec": "",
|
|
"saveSpec": null,
|
|
"fetchSpec": "latest"
|
|
},
|
|
"_requiredBy": [
|
|
"#DEV:/",
|
|
"#USER"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/dexie/-/dexie-2.0.4.tgz",
|
|
"_shasum": "6027a5e05879424e8f9979d8c14e7420f27e3a11",
|
|
"_spec": "dexie",
|
|
"_where": "/var/www/html/autocompletion",
|
|
"author": {
|
|
"name": "David Fahlander",
|
|
"email": "https://github.com/dfahlander"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/dfahlander/Dexie.js/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"contributors": [
|
|
{
|
|
"name": "Christopher Hunt",
|
|
"email": "https://github.com/chrahunt"
|
|
},
|
|
{
|
|
"name": "Nikolas Poniros",
|
|
"email": "https://github.com/nponiros"
|
|
},
|
|
{
|
|
"name": "Anders Ekdahl",
|
|
"email": "https://github.com/andersekdahl"
|
|
},
|
|
{
|
|
"name": "Yury Solovyov",
|
|
"email": "https://github.com/YurySolovyov"
|
|
},
|
|
{
|
|
"name": "Martin Diphoorn",
|
|
"email": "https://github.com/martindiphoorn"
|
|
}
|
|
],
|
|
"dependencies": {},
|
|
"deprecated": false,
|
|
"description": "A Minimalistic Wrapper for IndexedDB",
|
|
"devDependencies": {
|
|
"babel-cli": "^6.18.0",
|
|
"babel-plugin-transform-regenerator": "^6.21.0",
|
|
"eslint": "^3.7.1",
|
|
"just-build": "^0.9.16",
|
|
"karma": "^1.4.0",
|
|
"karma-browserstack-launcher": "^1.1.1",
|
|
"karma-chrome-launcher": "^2.0.0",
|
|
"karma-firefox-launcher": "^1.0.0",
|
|
"karma-mocha-reporter": "^2.2.2",
|
|
"karma-qunit": "^1.2.1",
|
|
"qunit": "^0.7.7",
|
|
"qunitjs": "^1.23.1",
|
|
"rollup": "^0.41.4",
|
|
"rollup-plugin-commonjs": "^7.0.0",
|
|
"rollup-plugin-node-resolve": "^2.0.0",
|
|
"rollup-plugin-sourcemaps": "^0.4.1",
|
|
"serve-static": "^1.11.1",
|
|
"typescript": "^2.1.4",
|
|
"uglify-js": "^2.7.5"
|
|
},
|
|
"engines": {
|
|
"node": ">=6.0"
|
|
},
|
|
"homepage": "http://dexie.org",
|
|
"jsnext:main": "dist/dexie.es.js",
|
|
"jspm": {
|
|
"format": "cjs",
|
|
"ignore": [
|
|
"src/"
|
|
]
|
|
},
|
|
"just-build": {
|
|
"default": [
|
|
"# Build all targets (es5, es6 and test) and minify the default es5 UMD module",
|
|
"just-build release test"
|
|
],
|
|
"dexie": [
|
|
"# Build es5 output",
|
|
"tsc --allowJs -t es5 -m es2015 --outDir tools/tmp/es5/src/ --sourceMap src/Dexie.js [--watch 'Compilation complete.']",
|
|
"rollup -c tools/build-configs/rollup.config.js",
|
|
"node tools/replaceVersionAndDate.js dist/dexie.js",
|
|
"eslint src"
|
|
],
|
|
"release": [
|
|
"# Build ES5 umd module as well as the es6 module.",
|
|
"just-build dexie",
|
|
"# Copy Dexie.d.ts to dist and replace version in it",
|
|
"node -e \"fs.writeFileSync('dist/dexie.d.ts', fs.readFileSync('src/Dexie.d.ts'))\"",
|
|
"node tools/replaceVersionAndDate.js dist/dexie.d.ts",
|
|
"# Minify the default ES5 UMD module",
|
|
"cd dist",
|
|
"uglifyjs dexie.js -m -c -o dexie.min.js --source-map dexie.min.js.map --in-source-map dexie.js.map"
|
|
],
|
|
"dev": [
|
|
"# Build ES5 module and the tests",
|
|
"just-build dexie test"
|
|
],
|
|
"gzip": [
|
|
"# Optionally gzip to find the size of the minified & gzipped version",
|
|
"gzip dist/dexie.min.js -k -f -9"
|
|
],
|
|
"test": [
|
|
"# Build the test suite. Typescript transpiles all but not generators...",
|
|
"tsc --allowJs -t es5 -m es2015 --outDir tools/tmp/es5/test/ --rootDir . --sourceMap test/tests-all.js [--watch 'Compilation complete.']",
|
|
"rollup -c tools/build-configs/rollup.tests.config.js",
|
|
"# As a last step, let babel transpile the generators....",
|
|
"babel tools/tmp/es5/test/bundle.js -o test/bundle.js --plugins transform-regenerator --source-maps"
|
|
]
|
|
},
|
|
"keywords": [
|
|
"indexeddb",
|
|
"browser",
|
|
"database"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"main": "dist/dexie.js",
|
|
"module": "dist/dexie.es.js",
|
|
"name": "dexie",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/dfahlander/Dexie.js.git"
|
|
},
|
|
"scripts": {
|
|
"build": "just-build",
|
|
"test": "npm run build && npm run test:typings && npm run test:unit",
|
|
"test:debug": "karma start test/karma.conf.js --log-level debug",
|
|
"test:typings": "tsc -p test/typings-test/",
|
|
"test:unit": "karma start test/karma.conf.js --single-run",
|
|
"watch": "just-build --watch"
|
|
},
|
|
"typings": "dist/dexie.d.ts",
|
|
"version": "2.0.4"
|
|
}
|