-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
109 lines (109 loc) 路 3.31 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
{
"name": "puppeteer-social-image",
"version": "0.8.1",
"description": "Create dynamic social share images using HTML + CSS via puppeteer.",
"homepage": "https://github.com/chrisvxd/puppeteer-social-image",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/chrisvxd/puppeteer-social-image.git"
},
"bugs": {
"url": "https://github.com/chrisvxd/puppeteer-social-image/issues"
},
"main": "dist/index.js",
"module": "dist/index.es.js",
"files": [
"dist/"
],
"scripts": {
"compile": "rollup -c",
"cz": "git-cz",
"format": "yarn run internal:prettier --write",
"internal:prettier": "prettier \"./*.{js,json,md}\" \"./**/*.{js,json,md}\"",
"lint": "npm-run-all --parallel lint:*",
"lint:js": "eslint --ignore-path .eslintignore .",
"lint:json": "eslint --ignore-path .eslintignore --ext .json .",
"lint:md": "remark --quiet --frail .",
"lint:format": "yarn run internal:prettier --list-different",
"precompile": "if [ ${SKIP_CLEANUP:-0} -ne 1 ]; then rimraf lib/*; fi",
"prepublishOnly": "yarn compile",
"test": "jest src --modulePathIgnorePatterns \"<rootDir>/dist/\"",
"release": "conventional-recommended-bump -p angular | xargs yarn version --new-version$1",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md"
},
"remarkConfig": {
"presets": [
"lint-consistent",
"lint-recommended"
],
"plugins": {
"lint": {
"list-item-indent": "space",
"heading-increment": true
}
}
},
"dependencies": {
"@babel/polyfill": "^7.4.4",
"handlebars": "^4.1.2",
"handlebars-jest": "^0.5.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@commitlint/cli": "^7.5.2",
"@commitlint/config-angular": "^7.5.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.8.0",
"commitizen": "^3.0.7",
"conventional-changelog-cli": "^2.0.12",
"conventional-recommended-bump": "^4.0.4",
"eslint": "^5.15.1",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-json": "~1.4.0",
"file-type": "^14.6.0",
"jest": "^24.4.0",
"jest-image-snapshot": "^2.8.1",
"npm-run-all": "^4.1.5",
"prettier": "~1.16.4",
"puppeteer": "^2.0.0",
"remark-cli": "^6.0.1",
"remark-lint": "^6.0.4",
"remark-preset-lint-consistent": "2.0.2",
"remark-preset-lint-recommended": "3.0.2",
"rimraf": "^2.6.3",
"rollup": "^0.64.1",
"rollup-plugin-babel": "^4.0.1",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-url": "^1.4.0",
"tempy": "^0.3.0"
},
"peerDependencies": {
"puppeteer": "2.x"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"<rootDir>/src/**/*.{js,jsx,ts,tsx}"
],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
"^.+\\.hbs$": "<rootDir>/node_modules/handlebars-jest"
},
"setupFilesAfterEnv": [
"<rootDir>/jest-setup.js"
]
}
}