--- /dev/null
+{
+ "name": "stringify-entities",
+ "version": "1.3.2",
+ "description": "Encode HTML character references and character entities",
+ "license": "MIT",
+ "keywords": [
+ "stringify",
+ "encode",
+ "escape",
+ "html",
+ "character",
+ "reference",
+ "entity",
+ "entities"
+ ],
+ "repository": "wooorm/stringify-entities",
+ "bugs": "https://github.com/wooorm/stringify-entities/issues",
+ "author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)",
+ "contributors": [
+ "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)"
+ ],
+ "files": [
+ "dangerous.json",
+ "index.js"
+ ],
+ "dependencies": {
+ "character-entities-html4": "^1.0.0",
+ "character-entities-legacy": "^1.0.0",
+ "is-alphanumerical": "^1.0.0",
+ "is-hexadecimal": "^1.0.0"
+ },
+ "devDependencies": {
+ "browserify": "^16.0.0",
+ "character-entities": "^1.0.0",
+ "esmangle": "^1.0.0",
+ "nyc": "^11.0.0",
+ "remark-cli": "^5.0.0",
+ "remark-preset-wooorm": "^4.0.0",
+ "tape": "^4.0.0",
+ "xo": "^0.20.0"
+ },
+ "scripts": {
+ "generate": "node build",
+ "format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
+ "build-bundle": "browserify index.js --bare -s stringifyEntities > stringify-entities.js",
+ "build-mangle": "esmangle stringify-entities.js > stringify-entities.min.js",
+ "build": "npm run build-bundle && npm run build-mangle",
+ "test-api": "node test",
+ "test-coverage": "nyc --reporter lcov tape test.js",
+ "test": "npm run generate && npm run format && npm run build && npm run test-coverage"
+ },
+ "nyc": {
+ "check-coverage": true,
+ "lines": 100,
+ "functions": 100,
+ "branches": 100
+ },
+ "prettier": {
+ "tabWidth": 2,
+ "useTabs": false,
+ "singleQuote": true,
+ "bracketSpacing": false,
+ "semi": false,
+ "trailingComma": "none"
+ },
+ "xo": {
+ "prettier": true,
+ "esnext": false,
+ "rules": {
+ "no-var": "off",
+ "unicorn/number-literal-case": "off",
+ "prefer-arrow-callback": "off",
+ "guard-for-in": "off"
+ },
+ "ignores": [
+ "stringify-entities.js"
+ ]
+ },
+ "remarkConfig": {
+ "plugins": [
+ "preset-wooorm"
+ ]
+ }
+}