-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
21 lines (21 loc) · 931 Bytes
/
package.json
File metadata and controls
21 lines (21 loc) · 931 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"type": "module",
"license": "MIT",
"scripts": {
"download": "node download-plugins-npm-api.ts",
"format": "prettier --write .",
"generate": "node generate-plugins.ts",
"update": "yarn download && yarn generate",
"upload": "aws s3 sync dist s3://jbrowse.org/plugins/ --cache-control 'no-cache, must-revalidate' && aws s3 cp new_plugins.json s3://jbrowse.org/plugin-store/plugins2.json --cache-control 'no-cache, must-revalidate'",
"invalidate": "AWS_PAGER=\"\" aws cloudfront create-invalidation --distribution-id E13LGELJOT4GQO --paths \"/plugins/*\" \"/plugin-store/*\"",
"deploy": "yarn update && git add . && (git diff --cached --quiet || (git commit -m 'Updates' && git push)) && yarn upload && yarn invalidate",
"postdeploy": "git push --follow-tags"
},
"dependencies": {
"prettier": "^3.8.1",
"tar": "^7.5.7"
},
"devDependencies": {
"@types/node": "^25.1.0"
}
}