UNPKG

word-join

Version:

Tiny module to join arrays with commas, "and", and Oxford comma support

47 lines (46 loc) 1.42 kB
{ "name": "word-join", "version": "0.0.1", "description": "Tiny module to join arrays with commas, \"and\", and Oxford comma support", "repository": "https://github.com/stldo/word-join", "keywords": [ "string", "join", "comma", "oxford", "word", "text", "and", "or" ], "main": "dist/cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "npm run build:rollup && npm run build:declarations", "build:rollup": "cross-env NODE_ENV=production rollup --config", "build:declarations": " tsc --emitDeclarationOnly", "lint": "npm run lint:eslint && npm run lint:tsc", "lint:eslint": "eslint --cache --ext ts ./", "lint:tsc": "tsc --noEmit --incremental false", "postversion": "git push && git push --tags", "prepare": "npm run lint && npm run build" }, "devDependencies": { "@rollup/plugin-typescript": "^8.3.1", "@typescript-eslint/eslint-plugin": "^5.13.0", "@typescript-eslint/parser": "^5.13.0", "cross-env": "^7.0.3", "eslint": "^8.10.0", "eslint-config-standard": "^17.0.0-1", "eslint-plugin-import": "^2.25.4", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^6.0.0", "rollup": "^2.69.1", "rollup-plugin-terser": "^7.0.2", "tslib": "^2.3.1", "typescript": "^4.6.2" }, "author": "stldo (https://github.com/stldo)", "license": "MIT" }