1 | {
|
2 | "name": "globals",
|
3 | "version": "15.12.0",
|
4 | "description": "Global identifiers from different JavaScript environments",
|
5 | "license": "MIT",
|
6 | "repository": "sindresorhus/globals",
|
7 | "funding": "https://github.com/sponsors/sindresorhus",
|
8 | "author": {
|
9 | "name": "Sindre Sorhus",
|
10 | "email": "sindresorhus@gmail.com",
|
11 | "url": "https://sindresorhus.com"
|
12 | },
|
13 | "sideEffects": false,
|
14 | "engines": {
|
15 | "node": ">=18"
|
16 | },
|
17 | "scripts": {
|
18 | "test": "npm run build && xo && ava && tsd",
|
19 | "prepare": "npm run build",
|
20 | "update": "node scripts/update.mjs",
|
21 | "update:browser": "node scripts/update.mjs --environment=browser",
|
22 | "update:builtin": "node scripts/update.mjs --environment=builtin",
|
23 | "update:nodeBuiltin": "node scripts/update.mjs --environment=nodeBuiltin",
|
24 | "update:worker": "node scripts/update.mjs --environment=worker",
|
25 | "update:shelljs": "node scripts/update.mjs --environment=shelljs",
|
26 | "update:jest": "node scripts/update.mjs --environment=jest",
|
27 | "build": "run-s build:data build:types",
|
28 | "build:data": "node scripts/generate-data.mjs",
|
29 | "build:types": "node scripts/generate-types.mjs"
|
30 | },
|
31 | "files": [
|
32 | "index.js",
|
33 | "index.d.ts",
|
34 | "globals.json"
|
35 | ],
|
36 | "keywords": [
|
37 | "globals",
|
38 | "global",
|
39 | "identifiers",
|
40 | "variables",
|
41 | "vars",
|
42 | "jshint",
|
43 | "eslint",
|
44 | "environments"
|
45 | ],
|
46 | "devDependencies": {
|
47 | "ava": "^6.1.3",
|
48 | "cheerio": "^1.0.0-rc.12",
|
49 | "eslint-plugin-jest": "^28.8.3",
|
50 | "execa": "^9.4.0",
|
51 | "get-port": "^7.1.0",
|
52 | "npm-run-all2": "^6.2.3",
|
53 | "outdent": "^0.8.0",
|
54 | "puppeteer": "^23.4.1",
|
55 | "shelljs": "^0.8.5",
|
56 | "tsd": "^0.31.2",
|
57 | "type-fest": "^4.26.1",
|
58 | "xo": "^0.59.3"
|
59 | },
|
60 | "xo": {
|
61 | "rules": {
|
62 | "unicorn/prefer-module": "off"
|
63 | },
|
64 | "overrides": [
|
65 | {
|
66 | "files": [
|
67 | "data/*.mjs"
|
68 | ],
|
69 | "rules": {
|
70 | "import/no-anonymous-default-export": "off",
|
71 | "camelcase": "off",
|
72 | "unicorn/filename-case": [
|
73 | "error",
|
74 | {
|
75 | "cases": {
|
76 | "camelCase": true,
|
77 | "kebabCase": true
|
78 | }
|
79 | }
|
80 | ]
|
81 | }
|
82 | },
|
83 | {
|
84 | "files": [
|
85 | "scripts/*.mjs"
|
86 | ],
|
87 | "rules": {
|
88 | "n/no-unsupported-features/node-builtins": "off"
|
89 | }
|
90 | }
|
91 | ]
|
92 | },
|
93 | "tsd": {
|
94 | "compilerOptions": {
|
95 | "resolveJsonModule": true
|
96 | }
|
97 | }
|
98 | }
|