UNPKG

2.94 kBJSONView Raw
1{
2 "name": "paf-api",
3 "description": "HTTP service that parses Postcode Address File records into a correctly formatted address",
4 "version": "0.1.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": "node_modules/.bin/nyc report --reporter=text-lcov | node_modules/.bin/coveralls || true",
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.2.1",
83 "@cablanchard/tsconfig": "~1.0.0",
84 "@cablanchard/tslint": "0.0.1",
85 "@ideal-postcodes/api-fixtures": "0.1.0",
86 "@types/chai": "~4.1.7",
87 "@types/express": "~4.17.0",
88 "@types/mocha": "~5.2.5",
89 "@types/pino": "~5.8.6",
90 "@types/supertest": "~2.0.7",
91 "chai": "~4.2.0",
92 "coveralls": "~3.0.2",
93 "marked": "~0.6.2",
94 "mocha": "~6.1.1",
95 "npm-check-updates": "~3.1.0",
96 "nyc": "~14.1.0",
97 "prettier": "~1.17.0",
98 "semantic-release": "~15.13.12",
99 "source-map-support": "~0.5.9",
100 "supertest": "~4.0.2",
101 "ts-node": "~8.2.0",
102 "tslint": "~5.17.0",
103 "typescript": "~3.5.1"
104 },
105 "dependencies": {
106 "express": "~4.17.0",
107 "express-pino-logger": "~4.0.0",
108 "pino": "~5.12.3",
109 "uk-clear-addressing": "~2.2.2"
110 },
111 "release": {
112 "extends": "@cablanchard/semantic-release/dist/npm"
113 }
114}