1 | {
|
2 | "name": "@ideal-postcodes/core-interface",
|
3 | "version": "3.1.0",
|
4 | "description": "Interface specification for javascript based API Clients to api.ideal-postcodes.co.uk",
|
5 | "author": {
|
6 | "name": "Ideal Postcodes",
|
7 | "email": "support@ideal-postcodes.co.uk",
|
8 | "url": "https://ideal-postcodes.co.uk"
|
9 | },
|
10 | "bugs": {
|
11 | "url": "https://github.com/ideal-postcodes/core-interface/issues",
|
12 | "email": "support@ideal-postcodes.co.uk"
|
13 | },
|
14 | "homepage": "https://github.com/ideal-postcodes/core-interface",
|
15 | "repository": {
|
16 | "type": "git",
|
17 | "url": "https://github.com/ideal-postcodes/core-interface.git"
|
18 | },
|
19 | "main": "dist/index.js",
|
20 | "module": "esm/index.js",
|
21 | "types": "dist/index.d.ts",
|
22 | "scripts": {
|
23 | "semantic-release": "semantic-release --no-ci",
|
24 | "test-watch": "NODE_ENV=test mocha --watch",
|
25 | "test": "NODE_ENV=test nyc mocha",
|
26 | "test:browsers:headless": "karma start",
|
27 | "test:browsers": "npm run test:browsers:latest && npm run test:browsers:legacy",
|
28 | "test:browsers:latest": "karma start .config/latest.conf.ts",
|
29 | "test:browsers:legacy": "karma start .config/legacy.conf.ts",
|
30 | "lint": "eslint lib/**/*.ts",
|
31 | "build": "tsc && tsc -p tsconfig.esm.json",
|
32 | "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
33 | "docs": "typedoc",
|
34 | "prepublishOnly": "npm run test && npm run build"
|
35 | },
|
36 | "files": [
|
37 | "dist",
|
38 | "esm"
|
39 | ],
|
40 | "browserslist": [
|
41 | "ie 11",
|
42 | "last 2 versions"
|
43 | ],
|
44 | "prettier": {
|
45 | "trailingComma": "es5"
|
46 | },
|
47 | "nyc": {
|
48 | "include": [
|
49 | "lib/**/*.ts",
|
50 | "generate/**/*.ts"
|
51 | ],
|
52 | "exclude": [
|
53 | "dist/*",
|
54 | "**/*.d.ts",
|
55 | "generate/index.ts"
|
56 | ],
|
57 | "extension": [
|
58 | ".ts",
|
59 | ".tsx"
|
60 | ],
|
61 | "require": [
|
62 | "ts-node/register"
|
63 | ],
|
64 | "reporter": [
|
65 | "text-summary",
|
66 | "html"
|
67 | ],
|
68 | "all": true
|
69 | },
|
70 | "mocha": {
|
71 | "extension": [
|
72 | "ts"
|
73 | ],
|
74 | "exit": true,
|
75 | "fullTrace": true,
|
76 | "require": [
|
77 | "ts-node/register",
|
78 | "source-map-support/register"
|
79 | ]
|
80 | },
|
81 | "engines": {
|
82 | "node": ">=8.0"
|
83 | },
|
84 | "keywords": [
|
85 | "API",
|
86 | "Interface",
|
87 | "UK",
|
88 | "Address",
|
89 | "Postcode",
|
90 | "Search",
|
91 | "Ideal Postcodes"
|
92 | ],
|
93 | "release": {
|
94 | "extends": "@cablanchard/semantic-release/dist/npm",
|
95 | "branches": [
|
96 | "master",
|
97 | {
|
98 | "name": "beta",
|
99 | "prerelease": true
|
100 | }
|
101 | ]
|
102 | },
|
103 | "license": "MIT",
|
104 | "dependencies": {
|
105 | "@ideal-postcodes/openapi": "~1.2.0-beta.4"
|
106 | },
|
107 | "devDependencies": {
|
108 | "@babel/polyfill": "~7.12.1",
|
109 | "@cablanchard/eslint-config": "~2.1.1",
|
110 | "@cablanchard/semantic-release": "~1.3.1",
|
111 | "@cablanchard/tsconfig": "2.0.0",
|
112 | "@cablanchard/tslint": "0.0.1",
|
113 | "@ideal-postcodes/api-fixtures": "~1.3.0",
|
114 | "@ideal-postcodes/doc-assets": "~1.0.3",
|
115 | "@ideal-postcodes/supported-browsers": "~2.5.0",
|
116 | "@types/chai": "~4.3.0",
|
117 | "@types/dotenv": "~8.2.0",
|
118 | "@types/karma": "~6.3.0",
|
119 | "@types/mocha": "~9.0.0",
|
120 | "@types/node": "~17.0.5",
|
121 | "@types/prettier": "~2.4.1",
|
122 | "@types/sinon": "~10.0.0",
|
123 | "@typescript-eslint/eslint-plugin": "~5.8.0",
|
124 | "chai": "~4.3.0",
|
125 | "codecov": "~3.8.0",
|
126 | "core-js": "~3.20.1",
|
127 | "dotenv": "~8.2.0",
|
128 | "eslint": "~7.32.0",
|
129 | "eslint-plugin-compat": "~3.13.0",
|
130 | "karma": "~6.3.3",
|
131 | "karma-chrome-launcher": "~3.1.0",
|
132 | "karma-cli": "~2.0.0",
|
133 | "karma-mocha": "~2.0.0",
|
134 | "karma-polyfill": "~1.1.0",
|
135 | "karma-sauce-launcher": "~4.3.3",
|
136 | "karma-typescript": "~5.5.1",
|
137 | "karma-typescript-es6-transform": "~5.5.2",
|
138 | "mocha": "~9.1.0",
|
139 | "nyc": "~15.1.0",
|
140 | "prettier": "~2.4.0",
|
141 | "puppeteer": "~13.0.1",
|
142 | "regenerator-runtime": "~0.13.3",
|
143 | "semantic-release": "~17.4.1",
|
144 | "sinon": "~12.0.1",
|
145 | "source-map-support": "~0.5.10",
|
146 | "ts-node": "~10.4.0",
|
147 | "tslint": "~6.1.2",
|
148 | "type-zoo": "~3.4.0",
|
149 | "typedoc": "^0.21.0",
|
150 | "typescript": "~4.4.3"
|
151 | }
|
152 | }
|