-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
81 lines (81 loc) · 2.56 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
{
"author": "sgobotta <[email protected]>",
"bin": "dist/cli.js",
"description": "Just a small script to create fake data files given a JSON model",
"dependencies": {
"babel-core": "^6.26.3",
"faker": "^5.1.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"chai": "^4.2.0",
"chai-string": "^1.5.0",
"codecov": "^3.6.5",
"eslint": "^5.16.0",
"husky": "^1.3.1",
"mocha": "^7.0.1",
"nyc": "^15.0.0",
"rimraf": "^2.6.3"
},
"eslintConfig": {
"env": {
"node": true,
"es6": true
},
"extends": [
"eslint:recommended"
],
"globals": {
"after": "readonly",
"before": "readonly",
"describe": "readonly",
"it": "readonly"
},
"parserOptions": {
"ecmaVersion": 6,
"parser": "babel-eslint",
"sourceType": "module"
},
"root": true,
"rules": {
"no-console": "off"
}
},
"homepage": "https://github.com/Cambalab/fake-data-generator#readme",
"husky": {
"hooks": {
"pre-commit": ".githooks/pre-commit"
}
},
"keywords": [
"faker",
"fake-data",
"node",
"open-source",
"script"
],
"license": "GPL-3.0",
"main": "dist/main.js",
"name": "fake-data-generator",
"repository": {
"type": "git",
"url": "git+https://github.com/Cambalab/fake-data-generator.git"
},
"scripts": {
"start": "node dist/cli.js",
"build": "node_modules/.bin/rimraf dist/ && node_modules/.bin/babel ./ --out-dir dist/ --ignore ./node_modules,./.babelrc,./npm-debug.log --copy-files",
"changelog": "npm run docker:changelog && git add CHANGELOG.md && git commit -am \"Updates changelog\"",
"docker:changelog": "docker run --env CHANGELOG_GITHUB_TOKEN=$CHANGELOG_GITHUB_TOKEN -it --rm -v $(pwd):/usr/local/src/your-app ferrarimarco/github-changelog-generator --user Cambalab --project fake-data-generator",
"generate": "npm run build && npm start",
"prepare": "npm run build",
"publish": "git push origin --tags && npm run changelog && git push origin",
"release:major": "npm version major && npm publish",
"release:minor": "npm version minor && npm publish",
"release:patch": "npm version patch && npm publish",
"test": "npm run test:unit && npm run test:coverage",
"test:unit": "./node_modules/.bin/mocha --require babel-core/register -R spec ./test/unit/**",
"test:coverage": "./node_modules/.bin/nyc --reporter=lcov --include=**/lib/**/*.js --exclude=**/*.spec.js --report-dir=./test/unit/coverage npm run test:unit"
},
"version": "0.4.3"
}