1 | {
|
2 | "name": "bson",
|
3 | "description": "A bson parser for node.js and the browser",
|
4 | "keywords": [
|
5 | "mongodb",
|
6 | "bson",
|
7 | "parser"
|
8 | ],
|
9 | "files": [
|
10 | "lib",
|
11 | "src",
|
12 | "dist",
|
13 | "bson.d.ts",
|
14 | "etc/prepare.js",
|
15 | "bower.json"
|
16 | ],
|
17 | "types": "bson.d.ts",
|
18 | "version": "4.5.3",
|
19 | "author": {
|
20 | "name": "The MongoDB NodeJS Team",
|
21 | "email": "dbx-node@mongodb.com"
|
22 | },
|
23 | "license": "Apache-2.0",
|
24 | "contributors": [],
|
25 | "repository": "mongodb/js-bson",
|
26 | "bugs": {
|
27 | "url": "https://jira.mongodb.org/projects/NODE/issues/"
|
28 | },
|
29 | "devDependencies": {
|
30 | "@babel/plugin-external-helpers": "^7.10.4",
|
31 | "@babel/preset-env": "^7.11.0",
|
32 | "@istanbuljs/nyc-config-typescript": "^1.0.1",
|
33 | "@microsoft/api-extractor": "^7.11.2",
|
34 | "@rollup/plugin-babel": "^5.2.0",
|
35 | "@rollup/plugin-commonjs": "^15.0.0",
|
36 | "@rollup/plugin-json": "^4.1.0",
|
37 | "@rollup/plugin-node-resolve": "^9.0.0",
|
38 | "@rollup/plugin-typescript": "^6.0.0",
|
39 | "@typescript-eslint/eslint-plugin": "^3.10.1",
|
40 | "@typescript-eslint/parser": "^3.10.1",
|
41 | "array-includes": "^3.1.3",
|
42 | "benchmark": "^2.1.4",
|
43 | "chai": "^4.2.0",
|
44 | "downlevel-dts": "^0.7.0",
|
45 | "eslint": "^7.7.0",
|
46 | "eslint-config-prettier": "^6.11.0",
|
47 | "eslint-plugin-prettier": "^3.1.4",
|
48 | "eslint-plugin-tsdoc": "^0.2.6",
|
49 | "karma": "^6.3.4",
|
50 | "karma-chai": "^0.1.0",
|
51 | "karma-chrome-launcher": "^3.1.0",
|
52 | "karma-mocha": "^2.0.1",
|
53 | "karma-mocha-reporter": "^2.2.5",
|
54 | "karma-rollup-preprocessor": "^7.0.5",
|
55 | "mocha": "5.2.0",
|
56 | "node-fetch": "^2.6.1",
|
57 | "nyc": "^15.1.0",
|
58 | "object.entries": "^1.1.4",
|
59 | "prettier": "^2.1.1",
|
60 | "rimraf": "^3.0.2",
|
61 | "rollup": "^2.26.5",
|
62 | "rollup-plugin-commonjs": "^10.1.0",
|
63 | "rollup-plugin-node-globals": "^1.4.0",
|
64 | "rollup-plugin-node-polyfills": "^0.2.1",
|
65 | "rollup-plugin-polyfill-node": "^0.7.0",
|
66 | "standard-version": "^9.3.0",
|
67 | "ts-node": "^9.0.0",
|
68 | "tsd": "^0.17.0",
|
69 | "typedoc": "^0.21.2",
|
70 | "typescript": "^4.0.2",
|
71 | "typescript-cached-transpile": "0.0.6",
|
72 | "uuid": "^8.3.2"
|
73 | },
|
74 | "tsd": {
|
75 | "directory": "test/types",
|
76 | "compilerOptions": {
|
77 | "strict": true,
|
78 | "target": "esnext",
|
79 | "module": "commonjs",
|
80 | "moduleResolution": "node"
|
81 | }
|
82 | },
|
83 | "config": {
|
84 | "native": false
|
85 | },
|
86 | "main": "lib/bson.js",
|
87 | "module": "dist/bson.esm.js",
|
88 | "browser": {
|
89 | "./lib/bson.js": "./dist/bson.browser.umd.js",
|
90 | "./dist/bson.esm.js": "./dist/bson.browser.esm.js"
|
91 | },
|
92 | "engines": {
|
93 | "node": ">=6.9.0"
|
94 | },
|
95 | "scripts": {
|
96 | "docs": "typedoc",
|
97 | "test": "npm run build && npm run test-node && npm run test-browser",
|
98 | "test-node": "mocha test/node test/*_tests.js",
|
99 | "test-tsd": "npm run build:dts && tsd",
|
100 | "test-browser": "karma start karma.conf.js",
|
101 | "build:ts": "tsc",
|
102 | "build:dts": "npm run build:ts && api-extractor run --typescript-compiler-folder node_modules/typescript --local && rimraf 'lib/**/*.d.ts*' && downlevel-dts bson.d.ts bson.d.ts",
|
103 | "build:bundle": "rollup -c rollup.config.js",
|
104 | "build": "npm run build:dts && npm run build:bundle",
|
105 | "lint": "eslint -v && eslint --ext '.js,.ts' --max-warnings=0 src test && tsc -v && tsc --noEmit && npm run test-tsd",
|
106 | "format": "eslint --ext '.js,.ts' src test --fix",
|
107 | "coverage": "nyc npm run test-node",
|
108 | "coverage:html": "npm run coverage && open ./coverage/index.html",
|
109 | "prepare": "node etc/prepare.js",
|
110 | "release": "standard-version -i HISTORY.md"
|
111 | },
|
112 | "dependencies": {
|
113 | "buffer": "^5.6.0"
|
114 | }
|
115 | }
|