-
Notifications
You must be signed in to change notification settings - Fork 38
/
package.json
87 lines (87 loc) · 3.43 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
{
"name": "hypha",
"version": "1.0.0",
"description": "The node.js requirements to build this project.",
"author": "Fredrik Jonsson",
"license": "GPL-2.0",
"prettier": {
"trailingComma": "es5"
},
"babel": {
"exclude": [
"**/*.min.js",
"**/esm/*.js"
],
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "entry",
"corejs": "3"
}
]
]
},
"browserslist": [
"> 0.5%",
"last 2 versions",
"Firefox ESR",
"not dead"
],
"devDependencies": {
"@alpinejs/focus": "^3.14.6",
"@babel/cli": "^7.25.9",
"@babel/core": "^7.25.9",
"@babel/preset-env": "^7.25.9",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.16.0",
"@tailwindcss/forms": "^0.5.9",
"@tailwindcss/typography": "^0.5.15",
"alpinejs": "^3.14.6",
"core-js": "^3.39.0",
"daterangepicker": "^3.1.0",
"eslint": "^9.16.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-jsdoc": "^50.4.3",
"eslint-plugin-template": "^0.7.0",
"globals": "^15.13.0",
"htmx.org": "^2.0.3",
"nodemon": "^3.1.7",
"npm-run-all2": "^7.0.1",
"prettier": "^3.4.1",
"sass": "^1.81.1",
"stylelint": "^16.11.0",
"stylelint-config-standard": "^36.0.1",
"stylelint-config-standard-scss": "^13.1.0",
"tailwindcss": "^3.4.15"
},
"scripts": {
"heroku-postbuild": "npm run build",
"build": "npm-run-all --print-label --parallel build:*",
"watch": "npm-run-all --print-label --parallel watch:*",
"lint": "npm-run-all --parallel lint:*",
"build:js": "babel ./hypha/static_src/javascript --out-dir ./hypha/static_compiled/js",
"build:sass": "sass ./hypha/static_src/sass:./hypha/static_compiled/css --load-path ./hypha/static_src/sass --no-source-map",
"build:tailwind": "tailwindcss -i ./hypha/static_src/tailwind/main.css -o ./hypha/static_compiled/css/tailwind-output.css --minify",
"build:images": "babel ./hypha/static_src/images --out-dir ./hypha/static_compiled/images --copy-files",
"watch:js": "babel --watch ./hypha/static_src/javascript --out-dir ./hypha/static_compiled/js",
"watch:sass": "sass --watch --embed-sources ./hypha/static_src/sass:./hypha/static_compiled/css --load-path ./hypha/static_src/sass",
"watch:tailwind": "tailwindcss -i ./hypha/static_src/tailwind/main.css -o ./hypha/static_compiled/css/tailwind-output.css --watch",
"watch:lint": "nodemon --exec \"npm run lint\" --watch ./hypha/static_src/sass --watch ./hypha/static_src/javscript --ext scss,js",
"dev:build": "npm-run-all --print-label --serial clean --parallel dev:build:*",
"dev:build:js": "npm run build:js",
"dev:build:sass": "sass --embed-sources ./hypha/static_src/sass:./hypha/static_compiled/css --load-path ./hypha/static_src/sass",
"dev:build:lint": "npm run lint",
"dev:build:tailwind": "tailwindcss -i ./hypha/static_src/tailwind/main.css -o ./hypha/static_compiled/css/tailwind-output.css",
"dev:build:images": "npm run build:images",
"lint:prettier": "prettier . --check",
"lint:sass": "stylelint \"hypha/static_src/sass/**/*.scss\"",
"lint:js": "eslint \"hypha/static_src/javascript/**/*.js\" \"hypha/cookieconsent/static/js/**/*.js\"",
"collectstatic": "python manage.py collectstatic --no-post-process --noinput --verbosity 0 --settings=hypha.settings.dev",
"clean": "rm -rf ./static ./hypha/static_compiled"
},
"engines": {
"node": "20.18.x"
},
"private": true
}