1 | {
|
2 | "name": "paf-api",
|
3 | "description": "HTTP service that parses Postcode Address File records into a correctly formatted address",
|
4 | "version": "2.0.0",
|
5 | "main": "dist/app.js",
|
6 | "types": "dist/index.d.ts",
|
7 | "author": {
|
8 | "name": "Ideal Postcodes",
|
9 | "email": "support@ideal-postcodes.co.uk",
|
10 | "url": "https://ideal-postcodes.co.uk"
|
11 | },
|
12 | "bugs": {
|
13 | "url": "https://github.com/ideal-postcodes/paf-api/issues",
|
14 | "email": "support@ideal-postcodes.co.uk"
|
15 | },
|
16 | "homepage": "https://github.com/ideal-postcodes/paf-api",
|
17 | "repository": {
|
18 | "type": "git",
|
19 | "url": "https://github.com/ideal-postcodes/paf-api.git"
|
20 | },
|
21 | "keywords": [
|
22 | "paf",
|
23 | "address parsing",
|
24 | "postcode address file",
|
25 | "uk"
|
26 | ],
|
27 | "scripts": {
|
28 | "semantic-release": "node_modules/.bin/semantic-release --no-ci",
|
29 | "start": "npm run build && node ./dist/index",
|
30 | "netlify": "npm run build && npm run build:readme",
|
31 | "build:readme": "./netlify.sh",
|
32 | "test": "npm run lint && NODE_ENV=test node_modules/.bin/nyc node_modules/.bin/mocha",
|
33 | "lint": "node_modules/.bin/tslint -c tslint.json -p tsconfig.json lib/**/*.ts",
|
34 | "build": "npm run lint && node_modules/.bin/tsc",
|
35 | "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
36 | "prepare": "npm run build",
|
37 | "watch": "node_modules/.bin/mocha --watch-extensions ts --watch"
|
38 | },
|
39 | "prettier": {
|
40 | "trailingComma": "es5"
|
41 | },
|
42 | "mocha": {
|
43 | "extension": [
|
44 | "ts"
|
45 | ],
|
46 | "exit": true,
|
47 | "fullTrace": true,
|
48 | "require": [
|
49 | "ts-node/register",
|
50 | "source-map-support/register"
|
51 | ]
|
52 | },
|
53 | "nyc": {
|
54 | "include": [
|
55 | "lib/**/*.ts"
|
56 | ],
|
57 | "exclude": [
|
58 | "dist/*",
|
59 | "**/*.d.ts"
|
60 | ],
|
61 | "extension": [
|
62 | ".ts",
|
63 | ".tsx"
|
64 | ],
|
65 | "require": [
|
66 | "ts-node/register"
|
67 | ],
|
68 | "reporter": [
|
69 | "text-summary",
|
70 | "html"
|
71 | ],
|
72 | "all": true
|
73 | },
|
74 | "engines": {
|
75 | "node": ">=8.0"
|
76 | },
|
77 | "license": "MIT",
|
78 | "files": [
|
79 | "dist"
|
80 | ],
|
81 | "devDependencies": {
|
82 | "@cablanchard/semantic-release": "~1.3.0",
|
83 | "@cablanchard/tsconfig": "~1.0.0",
|
84 | "@cablanchard/tslint": "0.0.1",
|
85 | "@ideal-postcodes/api-fixtures": "1.1.0",
|
86 | "@types/chai": "~4.2.0",
|
87 | "@types/express": "~4.17.0",
|
88 | "@types/mocha": "~8.0.0",
|
89 | "@types/pino": "~6.3.0",
|
90 | "@types/supertest": "~2.0.7",
|
91 | "chai": "~4.2.0",
|
92 | "codecov": "~3.7.0",
|
93 | "marked": "~1.1.0",
|
94 | "mocha": "~8.0.1",
|
95 | "nyc": "~15.1.0",
|
96 | "prettier": "~2.0.1",
|
97 | "semantic-release": "~17.1.0",
|
98 | "source-map-support": "~0.5.9",
|
99 | "supertest": "~4.0.2",
|
100 | "ts-node": "~8.10.1",
|
101 | "tslint": "~6.1.0",
|
102 | "typescript": "~3.9.2"
|
103 | },
|
104 | "dependencies": {
|
105 | "express": "~4.17.0",
|
106 | "express-pino-logger": "~5.0.0",
|
107 | "pino": "~6.4.0",
|
108 | "uk-clear-addressing": "~2.2.2"
|
109 | },
|
110 | "release": {
|
111 | "extends": "@cablanchard/semantic-release/dist/npm"
|
112 | }
|
113 | }
|