@athenna/view
Advanced tools
Comparing version 4.3.0 to 4.4.0
322
package.json
{ | ||
"name": "@athenna/view", | ||
"version": "4.3.0", | ||
"description": "The Athenna template engine. Built on top of Edge.", | ||
"license": "MIT", | ||
"author": "João Lenon <lenon@athenna.io>", | ||
"bugs": "https://github.com/AthennaIO/View/issues", | ||
"repository": "https://github.com/AthennaIO/View.git", | ||
"homepage": "https://github.com/AthennaIO/View#readme", | ||
"keywords": [ | ||
"esm", | ||
"view", | ||
"edge", | ||
"athenna", | ||
"template" | ||
"name": "@athenna/view", | ||
"version": "4.4.0", | ||
"description": "The Athenna template engine. Built on top of Edge.", | ||
"license": "MIT", | ||
"author": "João Lenon <lenon@athenna.io>", | ||
"bugs": "https://github.com/AthennaIO/View/issues", | ||
"repository": "https://github.com/AthennaIO/View.git", | ||
"homepage": "https://github.com/AthennaIO/View#readme", | ||
"keywords": [ | ||
"esm", | ||
"view", | ||
"edge", | ||
"html", | ||
"text", | ||
"markdown", | ||
"athenna", | ||
"template", | ||
"typescript" | ||
], | ||
"engines": { | ||
"node": ">=20.0.0" | ||
}, | ||
"scripts": { | ||
"build": "node node_modules/@athenna/tsconfig/src/build.js", | ||
"lint:fix": "eslint \"{bin,src,tests}/**/*.ts\" --fix", | ||
"test": "npm run --silent lint:fix && node --import=@athenna/tsconfig bin/test.ts", | ||
"test:debug": "cross-env NODE_DEBUG=athenna:* node --inspect --import=@athenna/tsconfig bin/test.ts", | ||
"test:coverage": "c8 npm run --silent test" | ||
}, | ||
"files": [ | ||
"src/*.js", | ||
"src/*.d.ts", | ||
"src/**/*.js", | ||
"src/**/*.d.ts", | ||
"templates", | ||
"configurer" | ||
], | ||
"type": "module", | ||
"main": "./src/index.js", | ||
"types": "./src/index.d.ts", | ||
"exports": { | ||
".": "./src/index.js", | ||
"./types": "./src/types/index.js", | ||
"./package": "./package", | ||
"./package.json": "./package.json", | ||
"./providers/ViewProvider": "./src/providers/ViewProvider.js" | ||
}, | ||
"imports": { | ||
"#bin/*": "./bin/*.js", | ||
"#bin": "./bin/index.js", | ||
"#src/*": "./src/*.js", | ||
"#src": "./src/index.js", | ||
"#tests/*": "./tests/*.js", | ||
"#tests": "./tests/index.js" | ||
}, | ||
"dependencies": { | ||
"edge.js": "^5.5.1" | ||
}, | ||
"devDependencies": { | ||
"@athenna/common": "^4.17.0", | ||
"@athenna/config": "^4.5.0", | ||
"@athenna/ioc": "^4.5.0", | ||
"@athenna/test": "^4.10.0", | ||
"@athenna/tsconfig": "^4.8.2", | ||
"@typescript-eslint/eslint-plugin": "^6.7.4", | ||
"@typescript-eslint/parser": "^6.7.4", | ||
"commitizen": "^4.2.6", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "^8.36.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-config-standard": "^17.0.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-n": "^15.6.1", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"husky": "^3.1.0", | ||
"lint-staged": "^12.5.0", | ||
"prettier": "^2.8.7" | ||
}, | ||
"c8": { | ||
"all": true, | ||
"include": [ | ||
"src/**/*.ts" | ||
], | ||
"scripts": { | ||
"build": "rimraf build && tsc --project bin/tsconfig.build.json", | ||
"lint:fix": "eslint \"{bin,src,tests}/**/*.ts\" --fix", | ||
"test": "npm run --silent lint:fix && sh node bin/test.ts", | ||
"test:debug": "cross-env NODE_DEBUG=athenna:* sh node --inspect bin/test.ts", | ||
"test:coverage": "c8 npm run --silent test" | ||
}, | ||
"files": [ | ||
"src/*.js", | ||
"src/*.d.ts", | ||
"src/**/*.js", | ||
"src/**/*.d.ts", | ||
"templates", | ||
"configurer" | ||
"exclude": [], | ||
"reporter": [ | ||
"text-summary", | ||
"html" | ||
], | ||
"type": "module", | ||
"main": "./src/index.js", | ||
"types": "./src/index.d.ts", | ||
"exports": { | ||
".": "./src/index.js", | ||
"./types": "./src/types/index.js", | ||
"./package.json": "./package.json", | ||
"./providers/ViewProvider": "./src/providers/ViewProvider.js" | ||
}, | ||
"imports": { | ||
"#bin/*": "./bin/*.js", | ||
"#bin": "./bin/index.js", | ||
"#src/*": "./src/*.js", | ||
"#src": "./src/index.js", | ||
"#tests/*": "./tests/*.js", | ||
"#tests": "./tests/index.js" | ||
}, | ||
"dependencies": { | ||
"edge.js": "^5.5.1" | ||
}, | ||
"devDependencies": { | ||
"@athenna/common": "^4.10.1", | ||
"@athenna/config": "^4.4.0", | ||
"@athenna/ioc": "^4.3.0", | ||
"@athenna/test": "^4.7.0", | ||
"@typescript-eslint/eslint-plugin": "^5.56.0", | ||
"@typescript-eslint/parser": "^5.56.0", | ||
"c8": "^7.12.0", | ||
"commitizen": "^4.2.6", | ||
"cross-env": "^7.0.3", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "^8.36.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-config-standard": "^17.0.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-n": "^15.6.1", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"husky": "^3.1.0", | ||
"lint-staged": "^12.5.0", | ||
"prettier": "^2.8.7", | ||
"reflect-metadata": "^0.1.13", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.0.2" | ||
}, | ||
"c8": { | ||
"all": true, | ||
"include": [ | ||
"src/**/*.ts" | ||
], | ||
"exclude": [], | ||
"reporter": [ | ||
"text-summary", | ||
"html" | ||
], | ||
"report-dir": "./tests/coverage", | ||
"check-coverage": true | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"prepare-commit-msg": "lint-staged && exec < /dev/tty && git cz --hook || true" | ||
"report-dir": "./tests/coverage", | ||
"check-coverage": true | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"prepare-commit-msg": "lint-staged && exec < /dev/tty && git cz --hook || true" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.ts": [ | ||
"eslint --fix", | ||
"git add" | ||
], | ||
"*.json": [ | ||
"prettier --write", | ||
"git add" | ||
] | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-conventional-changelog" | ||
} | ||
}, | ||
"prettier": { | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"arrowParens": "avoid", | ||
"endOfLine": "lf", | ||
"semi": false, | ||
"printWidth": 80, | ||
"overrides": [ | ||
{ | ||
"files": "tests/**/*", | ||
"options": { | ||
"printWidth": 120 | ||
} | ||
} | ||
] | ||
}, | ||
"eslintIgnore": [ | ||
"build/**/*" | ||
], | ||
"eslintConfig": { | ||
"env": { | ||
"es2021": true, | ||
"node": true | ||
}, | ||
"lint-staged": { | ||
"*.ts": [ | ||
"eslint --fix", | ||
"git add" | ||
], | ||
"*.json": [ | ||
"prettier --write", | ||
"git add" | ||
] | ||
"globals": { | ||
"ioc": true, | ||
"Env": true, | ||
"Path": true, | ||
"Config": true | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-conventional-changelog" | ||
} | ||
}, | ||
"prettier": { | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"arrowParens": "avoid", | ||
"endOfLine": "lf", | ||
"semi": false, | ||
"printWidth": 80, | ||
"overrides": [ | ||
{ | ||
"files": "tests/**/*", | ||
"options": { | ||
"printWidth": 120 | ||
} | ||
} | ||
] | ||
}, | ||
"eslintIgnore": [ | ||
"build/**/*" | ||
"plugins": [ | ||
"prettier", | ||
"@typescript-eslint" | ||
], | ||
"eslintConfig": { | ||
"env": { | ||
"es2021": true, | ||
"node": true | ||
}, | ||
"globals": { | ||
"ioc": true, | ||
"Env": true, | ||
"Path": true, | ||
"Config": true | ||
}, | ||
"plugins": [ | ||
"prettier", | ||
"@typescript-eslint" | ||
], | ||
"extends": [ | ||
"standard", | ||
"eslint:recommended", | ||
"plugin:prettier/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/eslint-recommended" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"rules": { | ||
"camelcase": "off", | ||
"dot-notation": "off", | ||
"prettier/prettier": "error", | ||
"no-useless-constructor": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-empty-function": "off", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ | ||
"argsIgnorePattern": "^_", | ||
"varsIgnorePattern": "^_", | ||
"caughtErrorsIgnorePattern": "^_" | ||
} | ||
] | ||
"extends": [ | ||
"standard", | ||
"eslint:recommended", | ||
"plugin:prettier/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/eslint-recommended" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"rules": { | ||
"camelcase": "off", | ||
"dot-notation": "off", | ||
"prettier/prettier": "error", | ||
"no-useless-constructor": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-empty-function": "off", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ | ||
"argsIgnorePattern": "^_", | ||
"varsIgnorePattern": "^_", | ||
"caughtErrorsIgnorePattern": "^_" | ||
} | ||
] | ||
} | ||
} | ||
} |
19
28876