UNPKG

ts-caddyfile

Version:
111 lines (110 loc) 2.6 kB
{ "name": "ts-caddyfile", "version": "0.0.3", "description": "CaddyFile Parser and generator VERY WIP", "main": "lib/index.js", "files": [ "lib/**/*" ], "jest": { "transform": { "^.+\\.(t|j)sx?$": "ts-jest" }, "testRegex": "(/__tests__/).*(test|spec)\\.ts", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ] }, "eslintConfig": { "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint", "prettier", "jest" ], "env": { "jest/globals": true }, "extends": [ "standard", "plugin:@typescript-eslint/recommended", "prettier", "prettier/standard", "prettier/@typescript-eslint" ], "rules": { "@typescript-eslint/explicit-function-return-type": [ "error", { "allowExpressions": true } ], "@typescript-eslint/no-unused-vars": [ "error", { "args": "none" } ], "prettier/prettier": [ "error", { "singleQuote": true, "semi": true, "jsxSingleQuote": true, "printWidth": 128, "trailingComma": "none" } ] } }, "scripts": { "test": "jest", "build": "tsc -p .", "prepublishOnly": "npm run build", "postversion": "git push --follow-tags" }, "repository": { "type": "git", "url": "git+https://github.com/KristianFJones/TS-CaddyFile.git" }, "keywords": [ "Caddy", "CaddyFile", "TS-CaddyFile", "CaddyFileParser" ], "author": "Kristian F Jones <me@kristianjones.dev>", "license": "ISC", "bugs": { "url": "https://github.com/KristianFJones/TS-CaddyFile/issues" }, "homepage": "https://github.com/KristianFJones/TS-CaddyFile#readme", "devDependencies": { "@types/fs-extra": "^8.0.0", "@types/jest": "^24.0.17", "@types/node": "^12.7.2", "@typescript-eslint/eslint-plugin": "^2.0.0", "@typescript-eslint/parser": "^2.0.0", "eslint": "^6.1.0", "eslint-config-prettier": "^6.0.0", "eslint-config-standard": "^13.0.1", "eslint-plugin-import": "^2.18.2", "eslint-plugin-jest": "^22.15.1", "eslint-plugin-node": "^9.1.0", "eslint-plugin-prettier": "^3.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.0", "fs-extra": "^8.1.0", "jest": "^24.8.0", "nodemon": "^1.19.1", "prettier": "^1.18.2", "ts-jest": "^24.0.2", "ts-node": "^8.3.0", "typescript": "^3.5.3" } }