-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
77 lines (77 loc) · 3.41 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
{
"name": "mjml-chart",
"description": "mjml-chart",
"version": "6.1.256",
"main": "lib/index.js",
"scripts": {
"ci": "./ci.sh",
"release": "(git commit -a -m 'prepare for release' || true) && (npm-release $npm_config_release_version || true) && (npm run --silent git-push || true)",
"test": "mocha --require babel-core/register",
"test-watch": "mocha -w --require babel-core/register",
"test-coverage": "nyc --all --statements=100 --branches=100 --functions=100 --lines=100 --check-coverage --reporter=lcov --reporter=cobertura --reporter=text --reporter=text-summary --report-dir=coverage -- npm run --silent test",
"coverage-send": "cat ./coverage/lcov.info | coveralls",
"@comment generate-swagger": "TODO hapi-swagger no longer manage .when and place required:true instead of false. Quickfix => update manually swagger.json to change required=true to false for chl parameter",
"generate-swagger": "curl -s https://image-charts.com/swagger.json | jq --compact-output '.paths.\"/chart\".get.parameters=(.paths.\"/chart\".get.parameters | map(if .name == \"chl\" then . + {\"required\":false} else . end))' > scripts/swagger.json",
"generate-swagger-dev": "curl -s http://localhost:8080/swagger.json > scripts/swagger.json",
"example-html": "babel-node examples/simple-chart.js > examples/simple-chart.html && open examples/simple-chart.html",
"generate": "node scripts/generateREADME.js > README.md && node scripts/generateComponent.js > src/index.js && babel src/index.js > lib/index.js",
"generate-watch": "chokidar 'scripts/**' 'package.json' -c 'npm run generate'",
"@comment updr": "-r basic : Uses console.log for output, no need for a TTY (e.g when running on CI) => https://www.npmjs.com/package/updtr#--reporter--r",
"updtr": "updtr -r basic --exclude markdown-table",
"changelog": "git checkout master && conventional-changelog -i CHANGELOG.md -s -r 0",
"changelog-commit": "npm run --silent changelog && (git add CHANGELOG.md && git commit -m 'docs(changelog): updated' || true)",
"git-push": "git push origin master:master"
},
"repository": {
"type": "git",
"url": "git+https://github.com/image-charts/mjml-chart.git"
},
"nyc": {
"exclude": [
"node_modules",
"examples",
"lib",
"scripts",
"coverage",
"**/**.test.js"
]
},
"license": "MIT",
"bugs": {
"url": "https://github.com/image-charts/mjml-chart/issues"
},
"imageCharts": {
"documentation": "https://image-charts.com/documentation",
"api": "https://image-charts.com/chart"
},
"homepage": "https://github.com/image-charts/mjml-chart",
"dependencies": {
"lodash": "^4.17.21",
"mjml-core": "^4.13.0",
"mjml-image": "^4.13.0"
},
"devDependencies": {
"@babel/runtime": "^7.26.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"chai": "^4.3.10",
"chokidar-cli": "^3.0.0",
"conventional-changelog": "^3.1.25",
"conventional-changelog-cli": "^2.2.2",
"coveralls": "^3.1.1",
"jq.node": "^2.4.0",
"markdown-table": "^2.0.0",
"mjml": "^4.13.0",
"mjml-cli": "^4.15.3",
"mocha": "^10.2.0",
"npm-release": "^1.0.0",
"nyc": "^15.1.0",
"truncate": "^3.0.0",
"updtr": "^4.0.0"
}
}