UNPKG

hatena-fotolife-api

Version:

Hatena::Fotolife API wrapper for Node.js (unofficial)

120 lines (119 loc) 3.39 kB
{ "name": "hatena-fotolife-api", "description": "Hatena::Fotolife API wrapper for Node.js (unofficial)", "version": "2.0.0", "author": { "name": "bouzuya", "mail": "m@bouzuya.net", "url": "http://bouzuya.net" }, "babel": { "presets": [ [ "@babel/preset-env", { "targets": { "node": "10" } } ], "power-assert" ] }, "bugs": { "url": "https://github.com/bouzuya/node-hatena-fotolife-api/issues" }, "dependencies": { "mime": "^2.4.6", "oauth": "^0.9.12", "request": "^2.88.2", "wsse": "^5.1.0", "xml2js": "^0.4.23" }, "devDependencies": { "@babel/cli": "^7.10.5", "@babel/core": "^7.11.0", "@babel/preset-env": "^7.11.0", "@types/mime": "^2.0.3", "@types/node": "^14.0.27", "@types/power-assert": "^1.5.3", "@types/request": "^2.48.5", "@types/sinon": "^9.0.4", "@types/xml2js": "^0.4.5", "@typescript-eslint/eslint-plugin": "^3.7.1", "@typescript-eslint/parser": "^3.7.1", "babel-preset-power-assert": "^3.0.0", "beater": "^9.0.1", "beater-helpers": "^2.0.0", "chokidar-cli": "^2.1.0", "coveralls": "^3.1.0", "eslint": "^7.6.0", "eslint-config-prettier": "^6.11.0", "npm-run-all": "^4.1.5", "nyc": "^15.1.0", "power-assert": "^1.6.1", "prettier": "^2.0.5", "rimraf": "^3.0.2", "sinon": "^9.0.2", "typescript": "^3.9.7" }, "eslintConfig": { "extends": [ "eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended", "prettier", "prettier/@typescript-eslint" ], "ignorePatterns": [ "node_modules" ], "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint" ], "root": true, "rules": { "@typescript-eslint/no-unused-vars": [ "error", { "argsIgnorePattern": "^_" } ] } }, "files": [ "lib" ], "homepage": "https://github.com/bouzuya/node-hatena-fotolife-api", "keywords": [ "hatena", "hatena-fotolife" ], "license": "MIT", "main": "lib/index.js", "repository": { "type": "git", "url": "git://github.com/bouzuya/node-hatena-fotolife-api.git" }, "scripts": { "build": "npm-run-all -s build:format build:lint build:es2015 build:es5 build:lib build:test", "build:es2015": "tsc", "build:es5": "babel --out-dir .tmp/es5/ --source-maps inline .tmp/es2015/", "build:format": "prettier --check '{src,test}/**/*.ts'", "build:lib": "babel --copy-files --no-comments --out-dir ./lib/ .tmp/es2015/src/", "build:lint": "eslint '{src,test}/**/*.ts'", "build:test": "cp test/*.png .tmp/es5/test/", "clean": "rimraf .nyc_output .tmp coverage lib", "coveralls": "nyc report --reporter text-lcov | coveralls", "format": "prettier --write '{src,test}/**/*.ts'", "prepare": "npm-run-all -s 'clean' 'build'", "start": "node examples/index.js", "test": "nyc --reporter lcov node .tmp/es5/test/index.js && nyc report", "watch": "npm-run-all -p 'watch:*'", "watch:es2015": "npm run build:es2015 -- --watch", "watch:es5": "npm run build:es5 -- --watch", "watch:lib": "npm run build:lib -- --watch", "watch:test": "chokidar '.tmp/es5/**/*.js' --command 'npm run test'" } }