-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
73 lines (73 loc) · 2.35 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "osdatahub",
"version": "0.2.2",
"description": "A JavaScript wrapper for the Ordnance Survey NGD API, Names API and Places API.",
"main": "build/index.js",
"type": "module",
"scripts": {
"test": "npm run bundle && jest",
"test-places": "npm test -- ./tests/places.test.ts",
"test-ngd": "npm test -- ./tests/ngd.test.ts",
"test-names": "npm test -- ./tests/names.test.ts",
"test-crs": "npm test -- ./tests/crs.test.ts",
"build": "npx tsc",
"build:docs": "npx typedoc --out docs src/index.ts --favicon ./media/favicon/favicon-32x32.png --footerDate",
"bundle": "npm run build && npx mkdirp dist && browserify ./build/index.js --standalone osdatahub > dist/bundle.js -t babelify && uglifyjs ./dist/bundle.js -o ./dist/bundle.min.js",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "npx eslint ./src ./tests",
"prepare": "npm run build && npm run bundle && npm run build:docs",
"prepublishOnly": "npm test && npm run lint && npm run bundle",
"preversion": "npm run lint",
"version": "npm run format && git add -A src"
},
"repository": {
"type": "git",
"url": "git+https://github.com/OrdnanceSurvey/osdatahub-js.git"
},
"keywords": [
"OrdnanceSurvey",
"OS",
"API",
"Wrapper",
"NamesAPI",
"PlacesAPI",
"JavaScript",
"GeoJSON"
],
"author": "https://github.com/OrdnanceSurvey",
"license": "SEE LICENSE IN LICENSE.txt",
"bugs": {
"url": "https://github.com/OrdnanceSurvey/osdatahub-js/issues"
},
"files": [
"build/**/*",
"dist/**"
],
"homepage": "https://github.com/OrdnanceSurvey/osdatahub-js#readme",
"devDependencies": {
"@babel/preset-env": "^7.19.4",
"@babel/preset-typescript": "^7.18.6",
"@jest/globals": "^29.1.2",
"@tsconfig/node16": "^1.0.3",
"@types/geojson": "^7946.0.10",
"@types/node": "^18.7.23",
"@types/proj4": "^2.5.2",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"babelify": "^10.0.0",
"dotenv": "^16.0.2",
"eslint": "^8.24.0",
"generate-license-file": "^2.0.0",
"jest": "^29.1.1",
"prettier": "^2.7.1",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typedoc": "^0.23.20",
"typedoc-plugin-extras": "^2.3.1",
"typescript": "^4.8.4"
},
"dependencies": {
"cross-fetch": "^3.1.5",
"proj4": "^2.8.0"
}
}