-
Notifications
You must be signed in to change notification settings - Fork 51
/
package.json
73 lines (73 loc) · 2.36 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
{
"name": "user-agents",
"version": "2.0.0-alpha.383",
"description": "A JavaScript library for generating random user agents. ",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/intoli/user-agents.git"
},
"author": "Intoli, LLC <[email protected]>",
"files": [
"dist/",
"src/**/*",
"!src/user-agents.json",
"!src/user-agents.json.gz"
],
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"license": "BSD-2-Clause",
"private": false,
"type": "module",
"scripts": {
"build": "tsup",
"postbuild": "yarn gunzip-data && cp src/user-agents.json dist/",
"gunzip-data": "node --loader ts-node/esm src/gunzip-data.ts src/user-agents.json.gz",
"lint": "eslint src/ && prettier --check src/",
"test": "NODE_ENV=testing mocha --exit --require @babel/register --extensions '.ts, .js'",
"update-data": "node --loader ts-node/esm src/update-data.ts src/user-agents.json.gz"
},
"devDependencies": {
"@babel/cli": "^7.23.0",
"@babel/core": "^7.23.2",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-syntax-import-assertions": "^7.22.5",
"@babel/plugin-transform-classes": "^7.22.15",
"@babel/preset-env": "^7.23.2",
"@babel/preset-typescript": "^7.23.2",
"@babel/register": "^7.22.15",
"@types/lodash.clonedeep": "^4.5.8",
"@types/ua-parser-js": "^0.7.38",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"babel-loader": "^9.1.3",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-preset-power-assert": "^3.0.0",
"dynamoose": "^3.2.1",
"esbuild": "^0.19.5",
"eslint": "^8.52.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"fast-json-stable-stringify": "^2.1.0",
"imports-loader": "^4.0.1",
"isbot": "^3.7.0",
"mocha": "^10.2.0",
"power-assert": "^1.6.1",
"prettier": "^3.0.3",
"random": "^4.1.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"tsup": "^7.2.0",
"typescript": "^5.2.2",
"typescript-language-server": "^4.0.0",
"ua-parser-js": "^1.0.36"
},
"dependencies": {
"lodash.clonedeep": "^4.5.0"
}
}