1{
2  "name": "xmlchars",
3  "version": "2.2.0",
4  "description": "Utilities for determining if characters belong to character classes defined by the XML specs.",
5  "keywords": [
6    "XML",
7    "validation"
8  ],
9  "main": "xmlchars.js",
10  "types": "xmlchars.d.ts",
11  "repository": "https://github.com/lddubeau/xmlchars.git",
12  "author": "Louis-Dominique Dubeau <ldd@lddubeau.com>",
13  "license": "MIT",
14  "devDependencies": {
15    "@commitlint/cli": "^8.1.0",
16    "@commitlint/config-angular": "^8.1.0",
17    "@types/chai": "^4.2.1",
18    "@types/mocha": "^5.2.7",
19    "chai": "^4.2.0",
20    "conventional-changelog-cli": "^2.0.23",
21    "husky": "^3.0.5",
22    "mocha": "^6.2.0",
23    "ts-node": "^8.3.0",
24    "tslint": "^5.19.0",
25    "tslint-config-lddubeau": "^4.1.0",
26    "typescript": "^3.6.2"
27  },
28  "scripts": {
29    "copy": "cp README.md LICENSE build/dist && sed -e'/\"private\": true/d' package.json > build/dist/package.json",
30    "build": "tsc && npm run copy",
31    "pretest": "npm run build",
32    "test": "mocha",
33    "posttest": "tslint -p tsconfig.json && tslint -p test/tsconfig.json",
34    "prepack": "node -e 'require(\"assert\")(!require(\"./package.json\").private)'",
35    "test-install": "npm run test && (test_dir=build/install_dir; rm -rf $test_dir; mkdir -p $test_dir/node_modules; packname=`npm run xmlchars:pack --silent`; (cd $test_dir; npm install ../$packname); rm -rf $test_dir)",
36    "xmlchars:pack": "cd build/dist/ && (packname=`npm pack --silent`; mv $packname ..; echo $packname)",
37    "prepublishOnly": "node -e 'require(\"assert\")(!require(\"./package.json\").private)'",
38    "xmlchars:publish": "npm run test-install && (cd build/dist && npm publish)",
39    "preversion": "npm run test-install",
40    "version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
41    "postversion": "npm run xmlchars:publish",
42    "postpublish": "git push origin --follow-tags",
43    "clean": "rm -rf build"
44  },
45  "dependencies": {},
46  "husky": {
47    "hooks": {
48      "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
49    }
50  }
51}
52