-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 2.58 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
{
"dependencies": {
"@aws-sdk/client-cloudfront": "^3.675.0",
"@aws-sdk/client-lambda": "^3.675.0",
"@aws-sdk/client-s3": "^3.675.0",
"@aws-sdk/client-ssm": "^3.675.0",
"@phylopic/api-models": "*",
"@phylopic/source-client": "*",
"@phylopic/source-models": "*",
"@phylopic/utils": "*",
"@phylopic/utils-aws": "*",
"axios": "^1.6.8",
"concurrently": "^8.2.2",
"dotenv": "^16.4.5",
"metadata-scraper": "^0.2.61",
"parse-nomen": "^2.1.3",
"path": "^0.12.7",
"pg": "^8.11.5",
"probe-image-size": "^7.2.3",
"readline": "^1.3.0",
"simple-digraph": "^1.1.1",
"ts-node": "^10.9.2"
},
"devDependencies": {
"@phylopic/tsconfig": "*",
"@types/pg": "^8.11.5",
"@types/probe-image-size": "^7.2.4",
"eslint-config-phylopic": "*",
"typescript": "^5.4.5"
},
"name": "@phylopic/publish",
"private": true,
"scripts": {
"autolink": "node --loader ts-node/esm ./src/autolink.ts",
"clean": "rm -rf .turbo && rm -rf node_modules",
"coverage": "node --loader ts-node/esm ./src/coverage.ts",
"download": "concurrently \"yarn download:images\" \"yarn download:source\"",
"download:images": "aws s3 sync --delete s3://images.phylopic.org/ ./.s3/images.phylopic.org && find .s3/images.phylopic.org -type d -empty -delete",
"download:source": "aws s3 sync --delete s3://source-images.phylopic.org/ ./.s3/source-images.phylopic.org && find .s3/source-images.phylopic.org -type d -empty -delete",
"insert": "node --loader ts-node/esm ./src/insert.ts 2> insert-error.log",
"lint": "TIMING=1 eslint --fix ./**/*.[jt]s",
"make": "yarn download && yarn process && concurrently \"yarn insert\" \"yarn upload\" && yarn release && yarn sync",
"make:data": "yarn insert && yarn release",
"normalize": "node --loader ts-node/esm ./src/normalize.ts",
"process": "./process.sh 2> process-error.log",
"release": "node --loader ts-node/esm ./src/release.ts 2> release-error.log && yarn revalidate",
"revalidate": "node --loader ts-node/esm ./src/revalidate.ts 2> revalidate-error.log",
"sync": "yarn sync:images",
"sync:images": "aws s3 sync --acl public-read --delete ./.s3/images.phylopic.org s3://images.phylopic.org/",
"upload": "yarn upload:images",
"upload:images": "aws s3 sync --acl public-read ./.s3/images.phylopic.org s3://images.phylopic.org/"
},
"type": "module",
"version": "1.6.0"
}