1 | {
|
2 | "name": "paf-api",
|
3 | "description": "HTTP service that parses Postcode Address File records into a correctly formatted address",
|
4 | "version": "0.0.1",
|
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 | "start": "npm run build && node ./dist/index",
|
29 | "netlify": "npm run build && npm run build:readme",
|
30 | "build:readme": "./netlify.sh",
|
31 | "test": "npm run lint && NODE_ENV=test node_modules/.bin/nyc node_modules/.bin/mocha",
|
32 | "lint": "node_modules/.bin/tslint -c tslint.json -p tsconfig.json lib/**/*.ts",
|
33 | "build": "npm run lint && node_modules/.bin/tsc",
|
34 | "coverage": "node_modules/.bin/nyc report --reporter=text-lcov | node_modules/.bin/coveralls || true",
|
35 | "prepare": "npm run build",
|
36 | "watch": "node_modules/.bin/mocha --watch-extensions ts --watch"
|
37 | },
|
38 | "prettier": {
|
39 | "trailingComma": "es5"
|
40 | },
|
41 | "mocha": {
|
42 | "extension": [
|
43 | "ts"
|
44 | ],
|
45 | "exit": true,
|
46 | "fullTrace": true,
|
47 | "require": [
|
48 | "ts-node/register",
|
49 | "source-map-support/register"
|
50 | ]
|
51 | },
|
52 | "nyc": {
|
53 | "include": [
|
54 | "lib/**/*.ts"
|
55 | ],
|
56 | "exclude": [
|
57 | "dist/*",
|
58 | "**/*.d.ts"
|
59 | ],
|
60 | "extension": [
|
61 | ".ts",
|
62 | ".tsx"
|
63 | ],
|
64 | "require": [
|
65 | "ts-node/register"
|
66 | ],
|
67 | "reporter": [
|
68 | "text-summary",
|
69 | "html"
|
70 | ],
|
71 | "all": true
|
72 | },
|
73 | "engines": {
|
74 | "node": ">=8.0"
|
75 | },
|
76 | "license": "MIT",
|
77 | "files": [
|
78 | "dist"
|
79 | ],
|
80 | "devDependencies": {
|
81 | "@cablanchard/tsconfig": "~0.0.1",
|
82 | "@cablanchard/tslint": "0.0.1",
|
83 | "@ideal-postcodes/api-fixtures": "0.0.4",
|
84 | "@types/chai": "~4.1.7",
|
85 | "@types/express": "~4.16.1",
|
86 | "@types/mocha": "~5.2.5",
|
87 | "@types/pino": "~5.8.6",
|
88 | "@types/supertest": "~2.0.7",
|
89 | "chai": "~4.2.0",
|
90 | "coveralls": "~3.0.2",
|
91 | "marked": "~0.6.2",
|
92 | "mocha": "~6.1.1",
|
93 | "npm-check-updates": "~3.1.0",
|
94 | "nyc": "~14.0.0",
|
95 | "prettier": "~1.17.0",
|
96 | "source-map-support": "~0.5.9",
|
97 | "supertest": "~4.0.2",
|
98 | "ts-node": "~8.1.0",
|
99 | "tslint": "~5.16.0",
|
100 | "typescript": "~3.4.1"
|
101 | },
|
102 | "dependencies": {
|
103 | "express": "~4.16.4",
|
104 | "express-pino-logger": "~4.0.0",
|
105 | "pino": "~5.12.3",
|
106 | "uk-clear-addressing": "~2.2.2"
|
107 | }
|
108 | }
|