|
| 1 | +{ |
| 2 | + "name": "files-multitool", |
| 3 | + "version": "0.0.1", |
| 4 | + "description": "Files Multitool", |
| 5 | + "main": "dist/index.js", |
| 6 | + "module": "dist/index.min.mjs", |
| 7 | + "unpkg": "dist/index.umd.min.js", |
| 8 | + "types": "dist/index.d.ts", |
| 9 | + "files": [ |
| 10 | + "dist" |
| 11 | + ], |
| 12 | + "scripts": { |
| 13 | + "test": "mocha -r ts-node/register test/**/*.ts test/*.ts", |
| 14 | + "lint": "eslint", |
| 15 | + "clean": "rm -fr dist", |
| 16 | + "build": "yarn clean && yarn lint && yarn build:tsc && yarn bundle && yarn bundle:esm:min && yarn bundle:umd:min && yarn build:stats", |
| 17 | + "build:tsc": "tsc", |
| 18 | + "build:stats": "(echo '\\033[35;3m' ; cd dist && ls -lh index*js index*gz | tail -n +2 | awk '{print $5,$9}')", |
| 19 | + "bundle": "rollup --config rollup.config.js", |
| 20 | + "bundle:esm:min": "terser --ecma 6 --compress --mangle --module -o dist/index.min.mjs -- dist/index.mjs && gzip -9 -c dist/index.min.mjs > dist/index.min.mjs.gz", |
| 21 | + "bundle:umd:min": "terser --ecma 6 --compress --mangle -o dist/index.umd.min.js -- dist/index.umd.js && gzip -9 -c dist/index.umd.min.js > dist/index.umd.min.js.gz" |
| 22 | + }, |
| 23 | + "author": "Fraser Bullock", |
| 24 | + "license": "MIT", |
| 25 | + "repository": { |
| 26 | + "type": "git", |
| 27 | + "url": "git://github.com/duinoapp/files-multitool.git" |
| 28 | + }, |
| 29 | + "devDependencies": { |
| 30 | + "@rollup/plugin-commonjs": "^23.0.2", |
| 31 | + "@rollup/plugin-json": "^5.0.1", |
| 32 | + "@rollup/plugin-node-resolve": "^15.0.1", |
| 33 | + "@types/chai": "^4.3.1", |
| 34 | + "@types/mocha": "^9.1.1", |
| 35 | + "@types/node": "^18.0.6", |
| 36 | + "@types/wicg-file-system-access": "^2020.9.6", |
| 37 | + "@typescript-eslint/eslint-plugin": "^5.23.0", |
| 38 | + "@typescript-eslint/parser": "^5.23.0", |
| 39 | + "chai": "^4.3.6", |
| 40 | + "eslint": "^8.15.0", |
| 41 | + "eslint-config-airbnb-base": "^15.0.0", |
| 42 | + "eslint-config-airbnb-typescript": "^17.0.0", |
| 43 | + "eslint-plugin-import": "^2.26.0", |
| 44 | + "mocha": "^10.0.0", |
| 45 | + "rollup": "^3.2.3", |
| 46 | + "rollup-plugin-node-polyfills": "^0.2.1", |
| 47 | + "terser": "^5.15.1", |
| 48 | + "ts-node": "^10.8.0", |
| 49 | + "typescript": "^4.6.4" |
| 50 | + }, |
| 51 | + "dependencies": { |
| 52 | + "node-fetch": "^3.3.1" |
| 53 | + } |
| 54 | +} |
0 commit comments