forked from faker-js/faker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
143 lines (143 loc) · 4.23 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
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "@faker-js/faker",
"version": "7.1.0",
"description": "Generate massive amounts of fake contextual data",
"keywords": [
"faker",
"faker.js",
"fakerjs",
"faker-js",
"fake data generator",
"fake data",
"fake-data",
"fake-generator",
"fake-data-generator",
"fake content generator",
"fake contextual data generator",
"fake contextual data"
],
"repository": {
"type": "git",
"url": "https://github.com/faker-js/faker.git"
},
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.mjs",
"types": "index.d.ts",
"typesVersions": {
">=4.0": {
"*": [
"dist/types/*"
]
}
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.mjs"
},
"./locale/*": {
"types": "./dist/types/locale/*.d.ts",
"require": "./dist/cjs/locale/*.js",
"import": "./dist/esm/locale/*.mjs"
},
"./package.json": "./package.json"
},
"files": [
"CHANGELOG.md",
"CHANGELOG_old.md",
"dist",
"locale",
"tsconfig.json"
],
"scripts": {
"clean": "rimraf coverage .eslintcache dist docs/.vitepress/dist pnpm-lock.yaml node_modules",
"build:clean": "rimraf dist",
"build:code": "esno ./scripts/bundle.ts",
"build:types": "tsc --emitDeclarationOnly --outDir dist/types",
"build": "run-s build:clean build:code build:types",
"generate:api-docs": "esno ./scripts/apidoc.ts",
"generate:locales": "esno ./scripts/generateLocales.ts",
"copy:mime-types": "esno ./scripts/copyMimeTypes.ts",
"docs:build": "run-s docs:prepare docs:build:run",
"docs:build:run": "vitepress build docs",
"docs:build:ci": "run-s build docs:build",
"docs:prepare": "run-s generate:api-docs",
"docs:dev": "run-s docs:prepare docs:dev:run",
"docs:dev:run": "vitepress dev docs",
"docs:serve": "vitepress serve docs",
"format": "prettier --write .",
"lint": "eslint --cache --cache-strategy content .",
"ts-check:scripts": "tsc --project tsconfig.check-scripts.json",
"ts-check:tests": "tsc --project tsconfig.check-tests.json",
"test": "vitest",
"coverage": "vitest run --coverage",
"cypress": "cypress",
"docs:test:e2e:ci": "run-s docs:build:ci docs:test:e2e:run",
"docs:test:e2e:run": "run-p --race docs:serve \"cypress run\"",
"docs:test:e2e:open": "run-p --race docs:serve \"cypress open\"",
"release": "standard-version",
"prepublishOnly": "pnpm run clean && pnpm install && pnpm run build"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged --concurrent false",
"commit-msg": "npx esno scripts/verifyCommit.ts $1"
},
"lint-staged": {
"*": [
"prettier --write --ignore-unknown"
],
"**/*.ts": [
"eslint --ext .ts"
]
},
"devDependencies": {
"@algolia/client-search": "~4.13.1",
"@types/markdown-it": "~12.2.3",
"@types/node": "~17.0.35",
"@types/prettier": "~2.6.3",
"@types/react": "~18.0.9",
"@types/sanitize-html": "~2.6.2",
"@types/validator": "~13.7.2",
"@typescript-eslint/eslint-plugin": "~5.26.0",
"@typescript-eslint/parser": "~5.26.0",
"@vitest/ui": "~0.13.0",
"c8": "~7.11.3",
"conventional-changelog-cli": "~2.2.2",
"cypress": "~9.7.0",
"esbuild": "~0.14.42",
"eslint": "~8.16.0",
"eslint-config-prettier": "~8.5.0",
"eslint-define-config": "~1.4.1",
"eslint-gitignore": "~0.1.0",
"eslint-plugin-jsdoc": "~39.3.2",
"eslint-plugin-prettier": "~4.0.0",
"esno": "~0.16.3",
"glob": "~8.0.3",
"lint-staged": "~12.4.2",
"mime-db": "~1.52.0",
"npm-run-all": "~4.1.5",
"picocolors": "~1.0.0",
"prettier": "2.6.2",
"prettier-plugin-organize-imports": "~2.3.4",
"react": "~18.1.0",
"react-dom": "~18.1.0",
"rimraf": "~3.0.2",
"sanitize-html": "~2.7.0",
"simple-git-hooks": "~2.8.0",
"standard-version": "~9.5.0",
"typedoc": "~0.22.15",
"typedoc-plugin-missing-exports": "~0.22.6",
"typescript": "~4.6.4",
"validator": "~13.7.0",
"vite": "~2.9.9",
"vitepress": "~0.22.4",
"vitest": "~0.13.0"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0"
}
}