forked from faker-js/faker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
143 lines (143 loc) · 4.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
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.4.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": "tsx ./scripts/bundle.ts",
"build:types": "tsc --emitDeclarationOnly --outDir dist/types",
"build": "run-s build:clean build:code build:types",
"generate:api-docs": "tsx ./scripts/apidoc.ts",
"generate:locales": "tsx ./scripts/generateLocales.ts",
"copy:mime-types": "tsx ./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 --port 5173",
"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 tsx scripts/verifyCommit.ts $1"
},
"lint-staged": {
"*": [
"prettier --write --ignore-unknown"
],
"**/*.ts": [
"eslint --ext .ts"
]
},
"devDependencies": {
"@algolia/client-search": "~4.14.2",
"@types/markdown-it": "~12.2.3",
"@types/node": "~18.6.4",
"@types/prettier": "~2.7.0",
"@types/react": "~18.0.17",
"@types/sanitize-html": "~2.6.2",
"@types/validator": "~13.7.5",
"@typescript-eslint/eslint-plugin": "~5.32.0",
"@typescript-eslint/parser": "~5.32.0",
"@vitest/ui": "~0.21.0",
"c8": "~7.12.0",
"conventional-changelog-cli": "~2.2.2",
"cypress": "~10.4.0",
"esbuild": "~0.14.54",
"eslint": "~8.21.0",
"eslint-config-prettier": "~8.5.0",
"eslint-define-config": "~1.6.0",
"eslint-gitignore": "~0.1.0",
"eslint-plugin-jsdoc": "~39.3.4",
"eslint-plugin-prettier": "~4.2.1",
"glob": "~8.0.3",
"lint-staged": "~13.0.3",
"mime-db": "~1.52.0",
"npm-run-all": "~4.1.5",
"picocolors": "~1.0.0",
"prettier": "2.7.1",
"prettier-plugin-organize-imports": "~3.0.3",
"react": "~18.2.0",
"react-dom": "~18.2.0",
"rimraf": "~3.0.2",
"sanitize-html": "~2.7.1",
"simple-git-hooks": "~2.8.0",
"standard-version": "~9.5.0",
"tsx": "~3.8.1",
"typedoc": "~0.23.10",
"typedoc-plugin-missing-exports": "~0.23.0",
"typescript": "~4.7.4",
"validator": "~13.7.0",
"vite": "~3.0.4",
"vitepress": "1.0.0-alpha.4",
"vitest": "~0.21.0"
},
"packageManager": "pnpm@7.9.0",
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0"
}
}