-
Notifications
You must be signed in to change notification settings - Fork 73
/
package.json
95 lines (95 loc) Β· 3.25 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
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
{
"name": "isbot",
"version": "3.4.6",
"description": "π€ detect bots/crawlers/spiders via the user agent.",
"keywords": [
"bot",
"crawlers",
"spiders",
"googlebot",
"useragent",
"user agent parsing",
"π€"
],
"license": "Unlicense",
"homepage": "https://isbot.js.org",
"repository": {
"type": "git",
"url": "https://github.com/omrilotan/isbot"
},
"engines": {
"node": ">=12"
},
"type": "commonjs",
"main": "./index.js",
"module": "./index.mjs",
"browser": "./index.mjs",
"exports": {
"./package.json": "./package.json",
".": {
"browser": "./index.mjs",
"import": "./index.mjs",
"require": "./index.js",
"node": "./index.js",
"default": "./index.js"
}
},
"types": "index.d.ts",
"scripts": {
"clean": "rm -rf .cache docs fixtures/downloads fixtures/index.json tests/browser/dist.js tests/esm/node_modules /index.*",
"prepare": "./scripts/prepare/index.js",
"prestart": "which parcel || npm i parcel-bundler --no-save",
"start": "parcel page/index.pug --out-dir docs",
"prepage": "which parcel || npm i parcel-bundler --no-save",
"pushmodules": "./scripts/pushmodules/index.sh",
"page": "parcel build page/index.pug --out-dir docs --public-url .",
"postpage": "echo isbot.js.org > docs/CNAME",
"authors": "./scripts/authors/index.js",
"sort": "./scripts/sort/index.js",
"ensure": "[ -e \"index.js\" ] || npm run build",
"build": "rollup --config .rollup.js",
"postbuild": "npm run symlink && npm run esm && npm run cjs && npm run browser",
"cjs": "mocha tests/cjs/spec.js",
"esm": "node --experimental-modules ./node_modules/.bin/mocha tests/esm/spec.js",
"pretest": "npm run prepare",
"test": "npm run spec && npm run efficiency",
"prespec": "npm run prepare",
"spec": "node --experimental-modules --experimental-json-modules ./node_modules/.bin/mocha tests/specs/spec.js",
"preefficiency": "npm run prepare",
"efficiency": "node --expose-gc --experimental-modules --experimental-json-modules ./node_modules/.bin/mocha tests/efficiency/spec.js",
"symlink": "./scripts/symlink/index.js",
"prebrowser": "npm run ensure && npm run symlink && rollup --config tests/browser/rollup.js",
"browser": "karma start tests/browser/karma.js",
"lint": "standard --parser @babel/eslint-parser",
"remark": "remark .",
"prets": "npm run ensure",
"ts": "tsc",
"prepublishOnly": "npm run authors && npm run build"
},
"devDependencies": {
"@babel/eslint-parser": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@lets/wait": "^2.0.2",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.2.1",
"eslint-plugin-log": "^1.2.6",
"form-data": "^4.0.0",
"karma": "^6.3.18",
"karma-chrome-launcher": "^3.1.1",
"karma-cli": "^2.0.0",
"karma-firefox-launcher": "^2.1.1",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"mocha": "^9.2.2",
"pug": "^3.0.0",
"remark-cli": "^10.0.0",
"remark-preset-lint-recommended": "^6.0.0",
"rollup": "^2.70.2",
"standard": "^17.0.0",
"stdline": "^1.0.0",
"typescript": "^4.6.3",
"user-agents": "^1.0.990",
"yaml": "^2.0.1"
}
}