kinto
Version:
An Offline-First JavaScript client for Kinto.
208 lines (207 loc) • 6.56 kB
JSON
{
"name": "kinto",
"version": "17.1.1",
"description": "An Offline-First JavaScript client for Kinto.",
"main": "lib/cjs/index.js",
"module": "lib/index.js",
"unpkg": "dist/kinto.min.js",
"types": "lib/index.d.ts",
"files": [
"/lib",
"/dist",
"!/dist/test-suite.{js,js.map}"
],
"scripts": {
"build": "npm run build:es && npm run build:cjs",
"build:es": "tsc -p . --outDir ./lib/ --declaration true",
"build:cjs": "tsc -p . --outDir lib/cjs --module commonjs --declaration false",
"build:test-browser": "playwright install firefox",
"build-demo": "npm run dist && shx cp dist/kinto.min.js demo/kinto.min.js && shx cp dist/kinto.min.js.map demo/kinto.min.js.map",
"compute-sri": "version=$(npm view kinto version); printf \"| Filename %-14s | Hash %-66s |\\n\" \"\" \"(for version $version)\"; printf \"|-------------------------|-------------------------------------------------------------------------|\\n\"; cd dist; for file in kinto*.js; do printf \"| %-23s | %-71s |\\n\" ${file} $(echo -n 'sha384-' && curl --silent https://unpkg.com/kinto@$version/dist/${file} | openssl dgst -sha384 -binary | openssl enc -base64); done",
"cs-check": "prettier -l \"{src,test,bin}/**/*.{js,ts}\"",
"cs-format": "prettier \"{src,test,bin}/**/*.{js,ts}\" \"*config*\" --write",
"demo": "npm run build-demo && http-server demo",
"dist": "npx cross-env NODE_ENV=production rollup -c && npm run dist:fx && npm run dist:fx:format",
"dist:dev": "npx rollup -c && npm run dist:fx",
"dist:fx": "npx ts-node --skip-project bin/dist-fx.ts",
"dist:fx:format": "npx prettier dist/ --write --ignore-path=''",
"lint": "eslint",
"publish-demo": "npm run dist-prod && cp dist/kinto.js demo/kinto.js && gh-pages -d demo",
"publish-to-npm": "npm run dist && npm run build && npm publish",
"report-coverage": "npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info",
"test": "npm run test-nocover",
"test-cover": "vitest --project parallel --coverage",
"test-cover-html": "vitest --project parallel --watch=false --coverage --reporter=html --outputFile=coverage/index.html",
"test-nocover": "vitest --project parallel --watch=false",
"test:browser": "npm run build:test-browser && vitest --project browser --watch=false"
},
"repository": {
"type": "git",
"url": "https://github.com/Kinto/kinto.js.git"
},
"keywords": [
"offline",
"sync",
"api",
"rest",
"kinto",
"indexeddb"
],
"author": "Mozilla <contact@mozilla.com>",
"contributors": [
{
"name": "Michiel B. de Jong",
"url": "https://michielbdejong.com/"
},
{
"name": "Nicolas Perriault",
"url": "https://nicolas.perriault.net/"
},
{
"name": "Mathieu Leplatre",
"url": "http://mathieu-leplatre.info/"
},
{
"name": "Mark Goodwin",
"url": "https://www.computerist.org/"
},
{
"name": "Ethan Glasser-Camp",
"url": "http://betacantrips.com/"
},
{
"name": "Alexis Metaireau",
"url": "https://blog.notmyidea.org"
},
{
"name": "Remy Hubscher",
"url": "http://natim.ionyse.com"
},
{
"name": "Masataka Takeuchi",
"url": "https://github.com/happy-tanuki"
},
{
"name": "Peter deHaan",
"url": "https://about.me/peterdehaan"
},
{
"name": "Quentin Roy",
"url": "http://quentinroy.fr"
},
{
"name": "Fernando Jiménez Moreno",
"url": "http://ferjm.github.io"
},
{
"name": "Lavish Aggarwal",
"url": "http://lavishaggarwal.com/"
},
{
"name": "Mark Striemer ",
"url": "https://github.com/mstriemer"
},
{
"name": "Ipsha Bhidonia",
"url": "https://ipsha218.wordpress.com/"
},
{
"name": "Mathieu Agopian",
"url": "https://github.com/magopian"
},
{
"name": "Eric Le Lay",
"url": "https://github.com/elelay"
},
{
"name": "markellisdev",
"url": "https://github.com/markellisdev"
},
{
"name": "zakaluka",
"url": "https://github.com/zakaluka"
},
{
"name": "François de Metz",
"url": "https://github.com/francois2metz"
},
{
"name": "Amr Gawish",
"url": "https://github.com/agawish"
},
{
"name": "Matt Boris",
"url": "https://github.com/matt-boris"
}
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/Kinto/kinto.js/issues"
},
"config": {
"ISTANBUL_OPTS": "--report lcovonly --root ./src"
},
"homepage": "https://github.com/Kinto/kinto.js",
"engines": {
"node": ">=16"
},
"dependencies": {
"btoa": "^1.2.1",
"playwright": "^1.49.1",
"uuid": "^13.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-multi-entry": "^7.1.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^12.1.0",
"@types/btoa": "^1.2.3",
"@types/node-fetch": "^2.5.12",
"@types/shelljs": "^0.8.9",
"@types/uuid": "^11.0.0",
"@typescript-eslint/eslint-plugin": "^8.26.0",
"@typescript-eslint/parser": "^8.26.0",
"@vitest/browser": "^3.2.4",
"atob": "^2.1.2",
"co-task": "^1.0.0",
"coveralls": "^3.1.1",
"cross-env": "^10.1.0",
"esdoc": "^1.1.0",
"esdoc-accessor-plugin": "^1.0.0",
"esdoc-ecmascript-proposal-plugin": "^1.0.0",
"esdoc-importpath-plugin": "^1.0.2",
"esdoc-integrate-test-plugin": "^1.0.0",
"esdoc-publish-html-plugin": "^1.1.2",
"esdoc-type-inference-plugin": "^1.0.2",
"esdoc-undocumented-identifier-plugin": "^1.0.0",
"esdoc-unexported-identifier-plugin": "^1.0.0",
"eslint": "^9.22.0",
"eslint-config-prettier": "^10.0.2",
"estraverse-fb": "^1.3.2",
"fake-indexeddb": "^6.0.0",
"form-data": "^4.0.0",
"gh-pages": "^6.0.0",
"http-server": "^14.0.0",
"kinto-node-test-server": "^2.0.0",
"mitt": "^3.0.0",
"msw": "^2.3.4",
"node-fetch": "^2.6.6",
"nyc": "^17.0.0",
"open-cli": "^8.0.0",
"prettier": "^3.7.4",
"rollup": "^4.14.1",
"rollup-plugin-polyfill-node": "^0.13.0",
"shx": "^0.4.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.4.0",
"tslib": "^2.3.1",
"typescript": "^5.0.3",
"uglifyify": "^5.0.2",
"vitest": "^3.2.4"
},
"overrides": {
"ts-node": "$ts-node"
}
}