odin/node_modules/unraw/package.json
2022-11-19 01:49:12 +01:00

87 lines
2.9 KiB
JSON

{
"name": "unraw",
"version": "2.0.1",
"description": "Convert raw escape sequences to their respective characters (undo String.raw).",
"main": "dist/index.js",
"unpkg": "dist/index.min.js",
"types": "dist/index.d.ts",
"repository": "https://github.com/iansan5653/unraw",
"scripts": {
"build": "tsc",
"minify": "node-minify --compressor uglify-es --input dist/index.js --output dist/index.min.js & node-minify --compressor uglify-es --input dist/errors.js --output dist/errors.min.js",
"test": "ts-mocha src/**/*.test.ts",
"testWithCoverage": "npm run build && nyc --reporter=text mocha src/**/*.test.ts --require ts-node/register --require source-map-support/register",
"testForCheck": "nyc --reporter=text-summary mocha src/index.test.ts --reporter=progress",
"testForCI": "nyc --reporter=cobertura --reporter=html mocha src/index.test.ts --reporter=mocha-junit-reporter --reporter-options mochaFile=test-results.xml",
"lint": "eslint src/**/*.ts",
"check": "npm run build && npm run testForCheck && npm run lint",
"ensureCleanTree": "echo 'Checking to ensure all changes are committed...' && git diff --quiet --exit-code & git diff --quiet --cached --exit-code",
"prepublishOnly": "npm run ensureCleanTree && npm run check && npm run minify",
"postpublish": "cross-var git tag -a $npm_package_version -m \"See changelog.md for release notes.\" && git push --tags && cross-var git tag -d $npm_package_version",
"format": "prettier src/**/*.test.ts --write"
},
"author": {
"name": "Ian Sanders",
"url": "https://github.com/iansan5653"
},
"license": "MIT",
"devDependencies": {
"@node-minify/core": "^5.3.0",
"@node-minify/cli": "^5.3.0",
"@node-minify/uglify-es": "^5.3.0",
"@types/mocha": "^7.0.2",
"@types/node": "^13.9.5",
"@typescript-eslint/eslint-plugin": "^2.25.0",
"@typescript-eslint/parser": "^2.25.0",
"cross-var": "^1.1.0",
"eslint": "^6.8.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-jsdoc": "^22.1.0",
"eslint-plugin-mocha": "^6.3.0",
"mocha": "^7.1.1",
"mocha-junit-reporter": "^1.23.3",
"nyc": "^15.0.0",
"prettier": "^2.0.2",
"source-map-support": "^0.5.16",
"ts-mocha": "^7.0.0",
"typescript": "^3.8.3"
},
"dependencies": {},
"nyc": {
"include": [
"src/**/*.ts",
"src/**/*.tsx"
],
"extension": [
".ts",
".tsx"
],
"require": [
"ts-node/register"
],
"sourceMap": true,
"instrument": true
},
"files": [
"dist/index.d.ts",
"dist/index.d.ts.map",
"dist/index.js",
"dist/index.js.map",
"dist/index.min.js",
"dist/errors.d.ts",
"dist/errors.d.ts.map",
"dist/errors.js",
"dist/errors.js.map",
"dist/errors.min.js"
],
"keywords": [
"strings",
"escapes",
"raw strings",
"cooked strings",
"template literal",
"unescape",
"unicode",
"decode"
]
}