@appex/aurelia-dompurify
Version:
Use DOMPurify as Aurelia's sanitizer implementation.
126 lines (125 loc) • 3.3 kB
JSON
{
"name": "@appex/aurelia-dompurify",
"description": "Use DOMPurify as Aurelia's sanitizer implementation.",
"version": "0.5.0",
"repository": {
"type": "git",
"url": "https://github.com/appex/aurelia-dompurify"
},
"license": "MIT",
"devDependencies": {
"@types/jest": "^26.0.21",
"@types/node": "^14.14.35",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"aurelia-animator-css": "^1.0.4",
"aurelia-bootstrapper": "^2.3.3",
"aurelia-cli": "^2.0.2",
"aurelia-loader-nodejs": "^1.1.0",
"aurelia-pal-nodejs": "^2.0.0",
"aurelia-testing": "^1.0.0",
"babel-eslint": "^10.1.0",
"connect": "^3.7.0",
"connect-history-api-fallback": "^1.6.0",
"connect-injector": "^0.4.4",
"debounce": "^1.2.1",
"del": "^6.0.0",
"eslint": "^7.22.0",
"gulp": "^4.0.2",
"gulp-eslint": "^6.0.0",
"gulp-if": "^3.0.0",
"gulp-plumber": "^1.2.1",
"gulp-rename": "^2.0.0",
"gulp-sourcemaps": "^3.0.0",
"gulp-typescript": "^6.0.0-alpha.1",
"gulp-watch": "^5.0.1",
"jest": "^26.6.3",
"jest-cli": "^26.6.3",
"jest-transform-stub": "^2.0.0",
"minimatch": "^3.0.4",
"open": "^8.0.4",
"promise-polyfill": "^8.2.0",
"requirejs": "^2.3.6",
"serve-static": "^1.14.1",
"server-destroy": "^1.0.1",
"socket.io": "^4.0.0",
"standard-changelog": "^2.0.27",
"text": "github:requirejs/text",
"ts-jest": "^26.5.4",
"typescript": "^4.2.3"
},
"scripts": {
"build": "au build-plugin --env prod",
"start": "au run",
"watch": "au build-plugin --watch",
"prepare": "npm run build",
"pretest": "au lint",
"preversion": "au test",
"version": "standard-changelog && git add CHANGELOG.md",
"postversion": "git push && git push --tags && npm publish",
"test": "au test"
},
"engines": {
"node": ">=10.12.0"
},
"main": "dist/commonjs/index.js",
"module": "dist/native-modules/index.js",
"private": false,
"files": [
"dist",
"src"
],
"jest": {
"moduleNameMapper": {
"^aurelia-binding$": "<rootDir>/node_modules/aurelia-binding"
},
"modulePaths": [
"<rootDir>/src",
"<rootDir>/node_modules"
],
"moduleFileExtensions": [
"ts",
"js",
"json"
],
"transform": {
"^.+\\.(css|less|sass|scss|styl|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "jest-transform-stub",
"^.+\\.ts$": "ts-jest"
},
"testRegex": "\\.spec\\.(ts|js)$",
"setupFiles": [
"<rootDir>/test/jest-pretest.ts"
],
"testEnvironment": "node",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{js,ts}",
"!**/*.spec.{js,ts}",
"!**/node_modules/**",
"!**/test/**"
],
"coverageDirectory": "<rootDir>/test/coverage-jest",
"coverageReporters": [
"json",
"lcov",
"text",
"html"
]
},
"dependencies": {
"@types/dompurify": "^2.2.2",
"aurelia-logging": "^1.0.0",
"aurelia-templating-resources": "^1.7.0",
"dompurify": "^2.2.8"
},
"directories": {
"test": "test"
},
"keywords": [
"security",
"sanitizing",
"aurelia",
"dompurify"
],
"author": "David A. Sjøen"
}