This repository has been archived by the owner on Dec 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
80 lines (80 loc) · 2.75 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
{
"name": "resisense.github.io",
"version": "1.0.0",
"description": "ResiSense team site",
"targets": {
"prod": {
"context": "browser",
"distDir": "./docs/scripts",
"optimize": true
},
"dev": {
"context": "browser",
"distDir": "./test/scripts",
"optimize": true
},
"test": {
"context": "browser",
"source": "./test.ts",
"distDir": "./test/scripts",
"optimize": true
}
},
"scripts": {
"#prod": "",
"prod": "echo Running prod script && rimraf ./docs && npm run _prod-build & npm run _prod-pack",
"_prod-build": "cross-env NODE_ENV=prod npx ts-node ./siteBuilder.ts",
"_prod-pack": "parcel build ./scripts/*.js ./scripts/*.ts --target prod",
"#dev": "",
"dev": "echo Running dev script && rimraf ./test && npm run _dev-build & npm run _dev-pack",
"_dev-build": "cross-env NODE_ENV=dev npx ts-node ./siteBuilder.ts",
"_dev-pack": "parcel build ./scripts/*.js ./scripts/*.ts --target dev",
"#watch": "",
"watch": "echo Running dev watch script && npx ts-node ./watcher.ts",
"_watch-do": "echo Running watch do script && npm run _dev-build & npm run _dev-pack",
"#misc": "",
"gitlab-actions": "echo Running gitlab actions script && npx ts-node ./.gitlab/gitlabActions.ts",
"prettify": "echo Prettifying HTML and JSON files && npx prettier \"docs/**/*.(html|css|js|json)\" --write"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ResiSense/ResiSense.github.io.git"
},
"author": "ResiSense",
"license": "CC-BY-4.0",
"bugs": {
"url": "https://github.com/ResiSense/ResiSense.github.io/issues"
},
"homepage": "https://github.com/ResiSense/ResiSense.github.io#readme",
"dependencies": {
"fs-extra": "^11.2.0",
"fuzzysort": "^3.0.2",
"glob": "^11.0.0",
"html-to-text": "^9.0.5",
"igem-upload-api": "^1.2.11",
"jsdom": "^25.0.1",
"marked": "^15.0.3"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/he": "^1.2.3",
"@types/html-to-text": "^9.0.4",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.10.1",
"chokidar": "^4.0.1",
"cross-env": "^7.0.3",
"ignore": "^6.0.2",
"parcel": "^2.13.2",
"prettier": "^3.4.1",
"rimraf": "^6.0.1",
"typescript": "^5.7.2"
},
"prettier": {
"printWidth": 120,
"tabWidth": 4,
"singleQuote": true,
"trailingComma": "es5",
"arrowParens": "avoid",
"htmlWhitespaceSensitivity": "strict"
}
}