UNPKG

browser-nativefs

Version:

Native File System API with legacy fallback in the browser.

62 lines (61 loc) 1.7 kB
{ "name": "browser-nativefs", "version": "0.12.0", "description": "Native File System API with legacy fallback in the browser.", "browser": "./dist/index.js", "main": "./dist/index.js", "exports": "./dist/index.js", "module": "./dist/index.js", "types": "./index.d.ts", "scripts": { "start": "npx http-server -o /demo/", "clean": "shx rm -rf ./dist", "build": "npm run clean && shx mkdir ./dist && shx mkdir ./dist/legacy && shx mkdir ./dist/nativefs && shx mkdir ./dist/nativefs-legacy && bash ./build.sh", "prepare": "npm run lint && npm run fix && npm run build", "lint": "npx eslint . --ext .js,.mjs --fix --ignore-pattern dist/", "fix": "npx prettier --write ." }, "repository": { "type": "git", "url": "git+https://github.com/GoogleChromeLabs/browser-nativefs.git" }, "keywords": [ "native file system", "native file system api", "native fs", "nativefs", "ponyfill" ], "files": [ "dist/", "index.d.ts" ], "author": "Thomas Steiner (https://blog.tomayac.com/)", "license": "Apache-2.0", "bugs": { "url": "https://github.com/GoogleChromeLabs/browser-nativefs/issues" }, "homepage": "https://github.com/GoogleChromeLabs/browser-nativefs#readme", "devDependencies": { "eslint": "^7.15.0", "eslint-config-google": "^0.14.0", "eslint-config-prettier": "^7.0.0", "http-server": "^0.12.3", "prettier": "^2.2.1", "shx": "^0.3.3", "terser": "^5.5.1" }, "eslintConfig": { "parserOptions": { "ecmaVersion": 2020, "sourceType": "module" }, "extends": [ "google", "prettier" ], "rules": { "valid-jsdoc": "off" } } }