UNPKG

3.02 kBJSONView Raw
1{
2 "name": "@shaggytools/nhtsa-api-wrapper",
3 "private": false,
4 "version": "3.0.4",
5 "description": "Universal javascript wrapper for the NHTSA.dot.gov VPIC 'vehicles' API, useful for VIN decoding, etc.",
6 "author": "Brandon Eichler <github.com/shaggytech>",
7 "license": "MIT",
8 "keywords": [
9 "NHTSA",
10 "NHTSA.gov",
11 "NHTSA.dot.gov",
12 "NHTSA API",
13 "NHTSA API Wrapper",
14 "NHTSA API Wrapper for Node",
15 "NHTSA API Wrapper for the browser",
16 "National Highway Traffic Safety Administration",
17 "Typescript",
18 "Vehicle",
19 "Vehicle API",
20 "Vehicle Identification Number",
21 "Vehicle Identification Number API",
22 "VIN",
23 "VIN decode",
24 "VIN decoder",
25 "VPIC"
26 ],
27 "homepage": "https://www.shaggytech.com/nhtsa-api-wrapper",
28 "repository": {
29 "type": "git",
30 "url": "https://github.com/ShaggyTech/nhtsa-api-wrapper.git"
31 },
32 "bugs": {
33 "url": "https://github.com/ShaggyTech/nhtsa-api-wrapper/issues"
34 },
35 "libraryName": "nhtsa-api-wrapper",
36 "sideEffects": false,
37 "type": "module",
38 "main": "dist/nhtsa-api-wrapper.cjs",
39 "module": "dist/nhtsa-api-wrapper.mjs",
40 "types": "dist/types/index.d.ts",
41 "source": "src/index.ts",
42 "unpkg": "dist/nhtsa-api-wrapper.iife.js",
43 "jsdelivr": "dist/nhtsa-api-wrapper.iife.js",
44 "files": [
45 "dist"
46 ],
47 "exports": {
48 ".": {
49 "types": "./dist/types/index.d.ts",
50 "import": {
51 "node": "./dist/nhtsa-api-wrapper.cjs",
52 "default": "./dist/nhtsa-api-wrapper.mjs"
53 },
54 "require": "./dist/nhtsa-api-wrapper.cjs"
55 },
56 "./package.json": "./package.json"
57 },
58 "publishConfig": {
59 "access": "public"
60 },
61 "devDependencies": {
62 "@vitest/coverage-c8": "0.31.1",
63 "@vitest/ui": "0.31.1",
64 "eslint": "8.41.0",
65 "prettier": "2.8.8",
66 "rimraf": "5.0.1",
67 "typedoc": "0.24.7",
68 "typescript": "5.0.4",
69 "vite": "4.3.9",
70 "vite-plugin-dts": "2.3.0",
71 "vite-tsconfig-paths": "4.2.0",
72 "vitest": "0.31.1",
73 "vitest-fetch-mock": "0.2.2",
74 "eslint-config-custom": "0.0.1",
75 "prettier-config": "0.0.1",
76 "tsconfig": "0.0.1",
77 "typedoc-config": "0.0.1"
78 },
79 "eslintConfig": {
80 "extends": [
81 "custom"
82 ],
83 "root": true
84 },
85 "prettier": "prettier-config",
86 "scripts": {
87 "preinstall": "npx only-allow pnpm",
88 "build": "pnpm run \"/^build:.*/\" && pnpm run format:typedoc",
89 "build:lib": "tsc --noEmit && vite build",
90 "build:typedocs": "typedoc --options .typedoc/typedoc.cjs",
91 "dev": "pnpm run \"/^dev:.*/\"",
92 "dev:lib": "vite build --watch",
93 "dev:typedocs": "typedoc --options .typedoc/typedoc.cjs --watch",
94 "preview": "vite preview",
95 "lint": "eslint .",
96 "lint:fix": "eslint --fix",
97 "format": "prettier --write \"src/**/*.{ts,tsx,md}\"",
98 "format:typedoc": "pnpm --filter docs run format:typedoc",
99 "test": "vitest",
100 "coverage": "vitest --coverage",
101 "clean": "rimraf ./dist ./coverage .turbo",
102 "clean:all": "pnpm run clean && rimraf node_modules"
103 }
104}
\No newline at end of file