UNPKG

minify-inline-json

Version:

Minify inlined/embedded JSON data within script tags

62 lines (61 loc) 1.54 kB
{ "name": "minify-inline-json", "version": "1.1.11", "description": "Minify inlined/embedded JSON data within script tags", "main": "lib/index.js", "scripts": { "lint": "eslint **/*.js", "lint:ci": "eslint --format junit -o test-results/eslint/results.xml **/*.js", "prepare": "if [ ${NODE_ENV} != 'production' ]; then husky install; fi", "tdd": "mocha --watch", "test": "mocha", "test:ci": "mocha --recursive --reporter mocha-junit-reporter --reporter-options mochaFile=./test-results/mocha/results.xml" }, "eslintConfig": { "env": { "es6": true, "node": true, "mocha": true }, "parserOptions": { "sourceType": "module" }, "extends": [ "@haensl" ] }, "repository": { "type": "git", "url": "git+https://github.com/haensl/minify-inline-json.git" }, "keywords": [ "json", "minify", "inline", "embed", "embedded", "inlined", "html", "script" ], "author": { "name": "HP Dietz", "email": "h.p.dietz@gmail.com", "twitter": "@h_p_d", "url": "https://hpdietz.com" }, "funding": "https://github.com/sponsors/haensl", "license": "MIT", "bugs": { "url": "https://github.com/haensl/minify-inline-json/issues" }, "homepage": "https://github.com/haensl/minify-inline-json#readme", "devDependencies": { "@haensl/eslint-config": "^1.3.0", "chai": "^4.2.0", "eslint": "^8.2.0", "husky": "^8.0.3", "mocha": "^10.2.0", "mocha-junit-reporter": "^2.0.0" } }