UNPKG

@finn-no/cdn-uploader

Version:

Small tool uploading assets to CDN backend (Google Cloud Storage)

106 lines (105 loc) 2.94 kB
{ "name": "@finn-no/cdn-uploader", "version": "3.3.0", "description": "Small tool uploading assets to CDN backend (Google Cloud Storage)", "main": "index.js", "files": [ "index.js", "lib/" ], "scripts": { "precreate-executable": "rimraf cdn-uploader-*", "create-executable": "pkg --targets node14-linux-x64,node14-macos-x64,node14-win-x64 .", "lint": "eslint .", "lint:format": "eslint --fix .", "test": "ava", "travis": "npm run lint && npm run test && npm run travis:e2e && npm run create-executable && npm run travis:e2e-executable", "travis:e2e": "./index.js -p cookies-kpi -b ivar-supertest -a e2e-test test/content", "travis:e2e-executable": "./cdn-uploader-linux -p cookies-kpi -b ivar-supertest -a e2e-test test/content" }, "repository": "finn-no/cdn-uploader", "keywords": [ "CDN", "upload", "assets" ], "author": "FINN.no <npm@finn.no>", "bin": "./index.js", "license": "MIT", "dependencies": { "@google-cloud/storage": "5.8.5", "@supercharge/promise-pool": "1.7.0", "chalk": "4.1.1", "fs-readdir-recursive": "1.1.0", "text-table": "0.2.0", "update-notifier": "5.1.0", "yargs": "17.0.1" }, "devDependencies": { "ava": "^1.1.0", "eslint": "7.28.0", "eslint-config-airbnb-base": "14.2.1", "eslint-config-prettier": "8.3.0", "eslint-plugin-ava": "12.0.0", "eslint-plugin-import": "2.23.4", "eslint-plugin-prettier": "3.4.0", "fs-extra": "10.0.0", "husky": "6.0.0", "lint-staged": "11.0.0", "pkg": "5.2.1", "prettier": "2.3.1", "rimraf": "3.0.2", "sinon": "11.1.1" }, "publishConfig": { "access": "public", "@finn-no:registry": "https://registry.npmjs.org/" }, "archive": { "binary": true, "patterns": [ "index.js", "lib/**", "package.json" ] }, "lint-staged": { "*.js": [ "eslint --fix", "git add" ], "*.{md,json,yml}": [ "prettier --write", "git add" ], ".{eslintrc,ytml}": [ "prettier --write", "git add" ] }, "prettier": { "proseWrap": "always", "singleQuote": true, "tabWidth": 4, "trailingComma": "es5", "overrides": [ { "files": ".eslintrc", "options": { "parser": "json" } }, { "files": "**/*.md", "options": { "tabWidth": 1 } } ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } } }