media-grab
Version:
Grab random media from the internet
111 lines (110 loc) • 3.22 kB
JSON
{
"name": "media-grab",
"version": "0.0.12",
"description": "Grab random media from the internet",
"main": "cjs/index.js",
"module": "mjs/index.js",
"exports": {
".": {
"import": "./mjs/index.js",
"require": "./cjs/index.js"
}
},
"scripts": {
"lint": "standard | snazzy",
"lint:fix": "standard --fix | snazzy",
"lint:test": "npm run lint && npm test",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules npx jest --setupFiles dotenv/config",
"docs": "jsdoc --readme README.md ./src/*.js -d ./docs && jsdoc2md ./src/*.js > ./api.md",
"build": "npm run build:merge && babel ./dist/index.js --out-dir ./dist --source-maps",
"build:merge": "rollup --environment ESM:true src/index.js --file dist/index.js --format 'cjs'",
"build:min": "minify ./dist/index.js --out-file ./dist/index.min.js --mangle.keepFnName --mangle.keepClassName --",
"build:full": "npm run docs && npm run build && npm run build:min",
"build:ci": "npm run lint && npm run test && npm run build:full",
"version:minor": "npm version patch -git-tag-version false",
"pub": "npm publish",
"pub:dist": "npm publish .\\dist\\",
"copy": "copy .\\package.json .\\dist\\",
"pub:full": "npm run build && npm run copy && npm run build:min && npm run pub:dist",
"build:hybrid": "node .\\prebuild.js && npx tsc -p tsconfig.json && npx tsc -p tsconfig-cjs.json && node .\\postbuild.js && npm run copy",
"pub:hybrid": "npm run build:hybrid && npm run pub:dist",
"start": "node debug.js"
},
"babel": {
"presets": [
"@babel/preset-env"
],
"plugins": [
[
"@babel/transform-runtime"
]
],
"env": {
"test": {
"plugins": [
"istanbul"
]
}
}
},
"nyc": {
"sourceMap": false,
"instrument": false
},
"standard": {
"env": {
"jest/globals": true
},
"ignore": [
"docs/",
"node_modules/",
"dist/"
]
},
"targets": "> 0.25%, not dead",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/cwmat/media-grab.git"
},
"keywords": [
"awesome",
"cool",
"great",
"swag",
"media",
"imgur",
"gfycat",
"redgifs"
],
"author": "cwmat",
"license": "MIT",
"bugs": {
"url": "https://github.com/cwmat/media-grab/issues"
},
"homepage": "https://github.com/cwmat/media-grab#readme",
"dependencies": {
"axios": "^0.26.1"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.5",
"@babel/plugin-transform-runtime": "^7.17.10",
"@babel/preset-env": "^7.16.11",
"@babel/register": "^7.17.0",
"@babel/runtime": "^7.17.9",
"babel-jest": "^27.5.1",
"babel-minify": "^0.5.1",
"babel-plugin-istanbul": "^6.1.1",
"cross-env": "^7.0.3",
"dotenv": "^16.0.0",
"jest": "^27.5.1",
"jsdoc": "^3.6.10",
"jsdoc-to-markdown": "^7.1.1",
"nyc": "^15.1.0",
"rollup": "^2.68.0",
"snazzy": "^9.0.0",
"standard": "^16.0.4",
"ts-jest": "^27.1.4",
"typescript": "^4.7.4"
}
}