UNPKG

2.28 kBJSONView Raw
1{
2 "name": "netlify-redirect-parser",
3 "version": "10.0.0",
4 "description": "Parses netlify redirects into a js object representation",
5 "main": "src/index.js",
6 "scripts": {
7 "prepublishOnly": "npm ci && npm test",
8 "test": "run-s format test:dev",
9 "test:dev": "ava",
10 "test:ci": "nyc -r lcovonly -r text -r json ava",
11 "format": "run-s format:check-fix:*",
12 "format:ci": "run-s format:check:*",
13 "format:check-fix:lint": "run-e format:check:lint format:fix:lint",
14 "format:check:lint": "cross-env-shell eslint $npm_package_config_eslint",
15 "format:fix:lint": "cross-env-shell eslint --fix $npm_package_config_eslint",
16 "format:check-fix:prettier": "run-e format:check:prettier format:fix:prettier",
17 "format:check:prettier": "cross-env-shell prettier --check $npm_package_config_prettier",
18 "format:fix:prettier": "cross-env-shell prettier --write $npm_package_config_prettier"
19 },
20 "config": {
21 "eslint": "--ignore-path .gitignore --cache --format=codeframe --max-warnings=0 \"*.{js,md}\" \"{src,tests}/**/*.js\"",
22 "prettier": "--ignore-path .gitignore --loglevel=warn \".github/**/*.{md,yml}\" \"*.{js,yml,json}\" \"{src,tests}/**/*.js\" \"!package-lock.json\" \"!CHANGELOG.md\""
23 },
24 "keywords": [
25 "netlify"
26 ],
27 "engines": {
28 "node": ">=10.18.0"
29 },
30 "author": "Netlify",
31 "license": "MIT",
32 "dependencies": {
33 "filter-obj": "^2.0.2",
34 "is-plain-obj": "^2.1.0",
35 "path-exists": "^4.0.0",
36 "toml": "^3.0.0"
37 },
38 "devDependencies": {
39 "@netlify/eslint-config-node": "^3.2.1",
40 "ava": "^2.4.0",
41 "nyc": "^15.1.0",
42 "test-each": "^2.0.1"
43 },
44 "files": [
45 "src/**/*.js",
46 "!src/**/*.test.js"
47 ],
48 "ava": {
49 "files": [
50 "tests/*.js"
51 ],
52 "helpers": [
53 "tests/helpers/"
54 ],
55 "compileEnhancements": false,
56 "babel": false,
57 "verbose": true
58 },
59 "husky": {
60 "hooks": {
61 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
62 "pre-push": "npm run format"
63 }
64 },
65 "repository": {
66 "type": "git",
67 "url": "git+https://github.com/netlify/netlify-redirect-parser.git"
68 },
69 "bugs": {
70 "url": "https://github.com/netlify/netlify-redirect-parser/issues"
71 },
72 "homepage": "https://github.com/netlify/netlify-redirect-parser#readme"
73}