-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
51 lines (51 loc) · 1.6 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
{
"name": "osm-auth",
"version": "2.5.0",
"license": "ISC",
"repository": "github:osmlab/osm-auth",
"description": "A usable example of JavaScript OAuth 2.0 with OpenStreetMap",
"keywords": [
"oauth",
"openstreetmap",
"ohauth"
],
"contributors": [
"Bryan Housel <[email protected]> (https://github.com/bhousel)",
"Daniel Schep (https://github.com/dschep)",
"Hel Nershing Thapa (https://github.com/HelNershingThapa)",
"Tom MacWright <[email protected]> (https://github.com/tmcw)"
],
"type": "module",
"source": "./src/osm-auth.mjs",
"types": "./src/osm-auth.d.ts",
"main": "./dist/osm-auth.cjs",
"module": "./src/osm-auth.mjs",
"exports": {
"import": "./src/osm-auth.mjs",
"require": "./dist/osm-auth.cjs"
},
"scripts": {
"all": "run-s clean test",
"build": "run-p build:**",
"build:browser": "esbuild ./src/osm-auth.mjs --platform=browser --target=es5 --format=iife --global-name=osmAuth --bundle --minify --sourcemap --outfile=./dist/osm-auth.iife.js",
"build:cjs": "esbuild ./src/osm-auth.mjs --platform=node --format=cjs --sourcemap --outfile=./dist/osm-auth.cjs",
"clean": "shx rm -rf dist",
"lint": "eslint src/osm-auth.mjs test/*.js",
"start": "npx http-server ./ -c-1",
"test": "run-s build test:node",
"test:node": "c8 node --test test/"
},
"devDependencies": {
"c8": "^9.1.0",
"esbuild": "^0.20.2",
"eslint": "^9.1.1",
"globals": "^15.0.0",
"http-server": "^14.1.1",
"node-localstorage": "^3.0.5",
"npm-run-all": "^4.1.5",
"shx": "^0.3.4"
},
"engines": {
"node": ">=18.18"
}
}