page-integrity-js
Version:
A library for monitoring and controlling DOM mutations and script execution, essential for PCI DSS compliance and security audits
67 lines (66 loc) • 1.81 kB
JSON
{
"name": "page-integrity-js",
"version": "3.0.2",
"description": "A library for monitoring and controlling DOM mutations and script execution, essential for PCI DSS compliance and security audits",
"engines": {
"node": ">=16.0.0"
},
"main": "dist/index.js",
"module": "dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js"
},
"./service-worker": {
"import": "./dist/service-worker.js",
"require": "./dist/service-worker.js"
}
},
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "npm run clean && npm run build:main && npm run build:sw && npm run build:iife",
"build:main": "tsc -p tsconfig.json",
"build:sw": "tsc -p tsconfig.sw.json",
"build:iife": "rollup -c",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:coverage:watch": "jest --coverage --watch",
"test:coverage:html": "jest --coverage --coverageReporters='text-summary' --coverageReporters='html'",
"clean": "rimraf dist",
"prebuild": "npm run clean"
},
"keywords": [
"security",
"dom",
"mutation",
"script",
"blocking",
"pci-dss",
"compliance",
"audit",
"security-audit",
"xss-prevention"
],
"author": "",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.24",
"@types/node-fetch": "^2.6.12",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"node-fetch": "^2.7.0",
"rimraf": "^5.0.0",
"rollup": "^4.15.0",
"ts-jest": "^29.1.2",
"typescript": "^5.3.3"
}
}