-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
34 lines (34 loc) · 956 Bytes
/
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
{
"name": "aasvg",
"version": "0.4.0",
"description": "Turn ASCII art diagrams into SVG",
"bin": "./main.js",
"repository": {
"type": "git",
"url": "https://github.com/martinthomson/aasvg"
},
"keywords": [
"ascii",
"diagram",
"goat",
"svg"
],
"author": "Martin Thomson <[email protected]>",
"license": "BSD",
"bugs": {
"url": "https://github.com/martinthomson/aasvg/issues"
},
"homepage": "https://github.com/martinthomson/aasvg#readme",
"engines": {
"node": ">=10"
},
"files": [
"*.js",
"README.md"
],
"scripts": {
"test": "set -e;[ \"aasvg $(jq -r .version <package.json)\" = \"$(./main.js --version)\" ];svg=$(mktemp); trap \"rm $svg\" EXIT;./main.js --backdrop <example.txt >\"$svg\"; diff -u example.svg \"$svg\"",
"release": "set -e;npm run test;t=\"v$(jq -r .version <package.json)\"; git tag \"$t\"; git push origin \"$t\";npm publish"
},
"dependencies": {}
}