-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathpackage.json
130 lines (130 loc) · 5.33 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
{
"name": "mocker-data-generator",
"version": "3.0.3",
"description": "A simplified way to generate mock data, builds using a simple schema and with the FakerJs",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
"module": "build/module/index.js",
"repository": "https://github.com/danibram/mocker-data-generator",
"keywords": [
"mock",
"data",
"faker",
"fakerjs",
"chance",
"chancejs",
"casual",
"randexp",
"json",
"fake",
"mocks",
"massive",
"generator"
],
"author": {
"name": "Daniel Biedma Ramos",
"email": "info@dbr.io",
"url": "https://dbr.io"
},
"files": [
"build/main/**/*",
"build/module/**/*",
"build/browser/**/*",
"package.json",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/danibram/mocker-data-generator/issues"
},
"scripts": {
"info": "npm-scripts-info",
"build": "trash build && tsc -p tsconfig.json && tsc -p config/tsconfig.module.json",
"build:tests": "trash test && node config/exports/build-tests.js",
"lint": "tslint src/**/*.ts",
"unit": "npm run build && nyc ava",
"check-coverage": "nyc check-coverage --lines 80 --functions 80 --branches 80",
"test": "npm run unit && npm run check-coverage",
"watch": "trash build && multiview [yarn watch:build] [yarn watch:unit]",
"watch:build": "tsc -p tsconfig.json -w",
"watch:unit": "tsc -p tsconfig.json && ava --watch --verbose",
"cov": "npm run unit && npm run html-coverage && opn coverage/index.html",
"html-coverage": "nyc report --reporter=html",
"send-coverage": "nyc report --reporter=lcov > coverage.lcov && codecov",
"docs": "typedoc src/index.ts --excludePrivate --mode file --theme minimal --out build/docs && opn build/docs/index.html",
"docs:json": "typedoc --mode file --json build/docs/typedoc.json src/index.ts",
"release": "standard-version",
"release:patch": "standard-version --release-as patch",
"release:minor": "standard-version --release-as minor",
"release:major": "standard-version --release-as major",
"release-github": "source .env.sh && conventional-github-releaser -p angular -r 1",
"prett": "prettier 'src/**/*.ts' --write",
"docs:dev": "cd _docs_website && next",
"docs:serve:dev": "npm run run docs:build && npm run docs:start",
"docs:build": "cd _docs_website && next build",
"docs:start": "cd _docs_website && next start",
"docs:examples": "node _docs_website/generateExamples.js",
"docs:export:dev": "trash _docs_website/.next && trash _docs_website/out && npm run docs:examples && cd _docs_website && NODE_ENV=development next build && NODE_ENV=development next export && npm run docs:serve:prod",
"docs:export": "trash _docs_website/.next && trash _docs_website/out && npm run docs:examples && cd _docs_website && NODE_ENV=production next build && NODE_ENV=production next export && touch out/.nojekyll",
"docs:serve:prod": "http-server _docs_website/out",
"docs:deploy:gh-pages": "gh-pages -d _docs_website/out -b gh-pages -t"
},
"scripts-info": {
"info": "Display information about the scripts",
"build": "(Trash and re)build the library",
"lint": "Lint all typescript source files",
"unit": "Run unit tests",
"test": "Lint and test the library",
"watch": "Watch source files, rebuild library on changes, rerun relevant tests",
"watch:build": "Watch source files, rebuild library on changes",
"watch:unit": "Watch the build, rerun relevant tests on changes",
"cov": "Run tests, generate the HTML coverage report, and open it in a browser",
"html-coverage": "Output HTML test coverage report",
"send-coverage": "Output lcov test coverage report and send it to codecov",
"docs": "Generate API documentation and open it in a browser",
"docs:json": "Generate API documentation in typedoc JSON format",
"release": "Bump package.json version, update CHANGELOG.md, tag a release"
},
"devDependencies": {
"@faker-js/faker": "^8.4.1",
"@types/node": "^18.15.13",
"ava": "^5.1.0",
"casual-browserify": "^1.5.19",
"chance": "^1.1.7",
"codecov": "^3.8.2",
"conventional-github-releaser": "^3.1.5",
"gh-pages": "^4.0.0",
"http-server": "^14.1.1",
"multiview": "^3.0.1",
"npm-scripts-info": "^0.3.9",
"nyc": "^15.1.0",
"opn-cli": "^5.0.0",
"prettier": "^2.8.1",
"randexp": "^0.5.3",
"standard-version": "^9.5.0",
"trash-cli": "^5.0.0",
"ts-node": "^10.9.1",
"tslib": "^2.4.1",
"tslint": "^6.1.3",
"tslint-config-standard": "^9.0.0",
"typedoc": "^0.23.23",
"typescript": "^4.9.4"
},
"nyc": {
"exclude": [
"**/*.spec.js",
"**/array-includes.js"
]
},
"ava": {
"files": [
"build/main/**/*.spec.js",
"!**/array-includes.js"
],
"source": [
"build/main/**/*"
]
}
}