๐Ÿ“ฆ zannager / MERN-Stack-bootcamp

๐Ÿ“„ package.json ยท 120 lines
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120{
  "name": "bson",
  "description": "A bson parser for node.js and the browser",
  "keywords": [
    "mongodb",
    "bson",
    "parser"
  ],
  "files": [
    "lib",
    "src",
    "bson.d.ts",
    "etc/prepare.js",
    "vendor"
  ],
  "types": "bson.d.ts",
  "version": "6.8.0",
  "author": {
    "name": "The MongoDB NodeJS Team",
    "email": "dbx-node@mongodb.com"
  },
  "license": "Apache-2.0",
  "contributors": [],
  "repository": "mongodb/js-bson",
  "bugs": {
    "url": "https://jira.mongodb.org/projects/NODE/issues/"
  },
  "devDependencies": {
    "@istanbuljs/nyc-config-typescript": "^1.0.2",
    "@microsoft/api-extractor": "^7.43.1",
    "@rollup/plugin-node-resolve": "^15.2.3",
    "@rollup/plugin-typescript": "^11.1.6",
    "@types/chai": "^4.3.14",
    "@types/mocha": "^10.0.6",
    "@types/node": "^20.12.7",
    "@types/sinon": "^17.0.3",
    "@types/sinon-chai": "^3.2.12",
    "@typescript-eslint/eslint-plugin": "^7.7.0",
    "@typescript-eslint/parser": "^7.7.0",
    "benchmark": "^2.1.4",
    "chai": "^4.4.1",
    "chalk": "^5.3.0",
    "dbx-js-tools": "github:mongodb-js/dbx-js-tools",
    "eslint": "^8.57.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-no-bigint-usage": "file:etc/eslint/no-bigint-usage",
    "eslint-plugin-prettier": "^5.1.3",
    "eslint-plugin-tsdoc": "^0.2.17",
    "magic-string": "^0.30.10",
    "mocha": "^10.4.0",
    "node-fetch": "^3.3.2",
    "nyc": "^15.1.0",
    "prettier": "^3.2.5",
    "rollup": "^4.14.3",
    "sinon": "^17.0.1",
    "sinon-chai": "^3.7.0",
    "source-map-support": "^0.5.21",
    "standard-version": "^9.5.0",
    "tar": "^7.0.1",
    "ts-node": "^10.9.2",
    "tsd": "^0.31.0",
    "typescript": "5.3",
    "typescript-cached-transpile": "0.0.6",
    "uuid": "^9.0.1"
  },
  "tsd": {
    "directory": "test/types",
    "compilerOptions": {
      "strict": true,
      "target": "esnext",
      "module": "commonjs",
      "moduleResolution": "node"
    }
  },
  "config": {
    "native": false
  },
  "main": "./lib/bson.cjs",
  "module": "./lib/bson.mjs",
  "exports": {
    "import": {
      "types": "./bson.d.ts",
      "default": "./lib/bson.mjs"
    },
    "require": {
      "types": "./bson.d.ts",
      "default": "./lib/bson.cjs"
    },
    "react-native": "./lib/bson.rn.cjs",
    "browser": "./lib/bson.mjs"
  },
  "compass:exports": {
    "import": "./lib/bson.cjs",
    "require": "./lib/bson.cjs"
  },
  "engines": {
    "node": ">=16.20.1"
  },
  "scripts": {
    "pretest": "npm run build",
    "test": "npm run check:node && npm run check:web && npm run check:web-no-bigint",
    "check:node": "WEB=false mocha test/node",
    "check:tsd": "npm run build:dts && tsd",
    "check:web": "WEB=true mocha test/node",
    "check:web-no-bigint": "WEB=true NO_BIGINT=true mocha test/node",
    "check:granular-bench": "npm run build:bench && node ./test/bench/etc/run_granular_benchmarks.js",
    "check:spec-bench": "npm run build:bench && node ./test/bench/lib/spec/bsonBench.js",
    "build:bench": "cd test/bench && npx tsc",
    "build:ts": "node ./node_modules/typescript/bin/tsc",
    "build:dts": "npm run build:ts && api-extractor run --typescript-compiler-folder node_modules/typescript --local && node etc/clean_definition_files.cjs",
    "build:bundle": "rollup -c rollup.config.mjs",
    "build": "npm run build:dts && npm run build:bundle",
    "check:lint": "eslint -v && eslint --ext '.js,.ts' --max-warnings=0 src test && npm run build:dts && npm run check:tsd",
    "format": "eslint --ext '.js,.ts' src test --fix",
    "check:coverage": "nyc --check-coverage npm run check:node",
    "prepare": "node etc/prepare.js",
    "release": "standard-version -i HISTORY.md"
  }
}