forked from faker-js/faker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
150 lines (150 loc) · 4.48 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
144
145
146
147
148
149
150
{
"name": "@faker-js/faker",
"version": "7.6.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": {
"@actions/github": "~5.1.1",
"@algolia/client-search": "~4.14.2",
"@types/glob": "~8.0.0",
"@types/markdown-it": "~12.2.3",
"@types/node": "~18.11.9",
"@types/prettier": "~2.7.1",
"@types/react": "~18.0.25",
"@types/sanitize-html": "~2.6.2",
"@types/semver": "~7.3.13",
"@types/validator": "~13.7.10",
"@typescript-eslint/eslint-plugin": "~5.44.0",
"@typescript-eslint/parser": "~5.44.0",
"@vitest/coverage-c8": "~0.25.3",
"@vitest/ui": "~0.25.3",
"@vueuse/core": "~9.6.0",
"c8": "~7.12.0",
"conventional-changelog-cli": "~2.2.2",
"cypress": "~11.2.0",
"esbuild": "~0.15.16",
"eslint": "~8.28.0",
"eslint-config-prettier": "~8.5.0",
"eslint-define-config": "~1.12.0",
"eslint-gitignore": "~0.1.0",
"eslint-plugin-jsdoc": "~39.6.4",
"eslint-plugin-prettier": "~4.2.1",
"glob": "~8.0.3",
"lint-staged": "~13.0.4",
"mime-db": "~1.52.0",
"npm-run-all": "~4.1.5",
"picocolors": "~1.0.0",
"prettier": "2.8.0",
"prettier-plugin-organize-imports": "~3.2.1",
"react": "~18.2.0",
"react-dom": "~18.2.0",
"rimraf": "~3.0.2",
"sanitize-html": "~2.7.3",
"semver": "~7.3.8",
"simple-git-hooks": "~2.8.1",
"standard-version": "~9.5.0",
"tsx": "~3.12.1",
"typedoc": "~0.23.21",
"typedoc-plugin-missing-exports": "~1.0.0",
"typescript": "~4.9.3",
"validator": "~13.7.0",
"vite": "~3.2.4",
"vitepress": "1.0.0-alpha.29",
"vitest": "~0.25.3",
"vue": "~3.2.45"
},
"packageManager": "[email protected]",
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
"npm": ">=6.14.13"
}
}