vegan-ipsum
Version:
Generates passages of vegan-themed placeholder text suitable for use in web pages, graphics, and more. Works in the browser, NodeJS, and React Native.
96 lines (95 loc) • 2.91 kB
JSON
{
"name": "vegan-ipsum",
"version": "1.0.3",
"description": "Generates passages of vegan-themed placeholder text suitable for use in web pages, graphics, and more. Works in the browser, NodeJS, and React Native.",
"author": "Vijay Hardaha (http://github.com/vijayhardaha)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/vijayhardaha/node-vegan-ipsum.git"
},
"main": "dist/index",
"bin": {
"vegan-ipsum": "dist/bin/vegan-ipsum.bin.js"
},
"types": "types/src/index.d.ts",
"scripts": {
"clean-build": "rm -rf types && rm -rf dist",
"type-check": "tsc --noEmit",
"build:types": "rm -rf types && tsc --emitDeclarationOnly",
"build:js": "rm -rf dist && babel src --ignore '**/*.test.ts' --out-dir dist --extensions \".ts,.tsx\" --source-maps inline",
"build:exec": "gsed -i '1i #!/usr/bin/env node' dist/bin/vegan-ipsum.bin.js",
"build": "npm run build:types && npm run build:js && npm run build:exec",
"lint:check": "eslint src/**/*.{js,ts}",
"lint:fix": "eslint src/**/*.{js,ts} --fix",
"test": "jest --coverage",
"release": "npm run build && release-it",
"release:dry": "npm run build && release-it --dry-run"
},
"keywords": [
"vegan",
"ipsum",
"placeholder",
"text",
"plant-based",
"filler"
],
"engines": {
"node": ">= 8.x",
"npm": ">= 5.x"
},
"devDependencies": {
"@babel/cli": "^7.27.1",
"@babel/core": "^7.27.1",
"@babel/eslint-parser": "^7.27.1",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-transform-modules-commonjs": "^7.27.1",
"@babel/preset-env": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@eslint/compat": "^1.2.9",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.26.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.15.3",
"@types/random-seed": "^0.3.5",
"@typescript-eslint/eslint-plugin": "^8.31.1",
"@typescript-eslint/parser": "^8.31.1",
"babel-loader": "^10.0.0",
"eslint": "^9.26.0",
"eslint-config-prettier": "^10.1.2",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.6",
"globals": "^16.0.0",
"jest": "^29.7.0",
"nock-exec": "^0.1.0",
"prettier": "^3.5.3",
"release-it": "^19.0.1",
"ts-jest": "^29.3.2",
"typescript": "^5.8.3"
},
"dependencies": {
"commander": "^13.1.0"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.ts",
"!src/bin/**/*.ts",
"!src/constants/cli.ts",
"!src/constants/regex.ts",
"!src/@types/**/*.d.ts"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}