forked from HyphaApp/hypha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 3.42 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
{
"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.13.3",
"@babel/cli": "^7.23.4",
"@babel/core": "^7.23.5",
"@babel/preset-env": "^7.23.5",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.10",
"alpinejs": "^3.13.3",
"core-js": "^3.34.0",
"daterangepicker": "^3.1.0",
"eslint": "^8.55.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-template": "^0.7.0",
"htmx.org": "^1.9.9",
"nodemon": "^3.0.2",
"npm-run-all2": "^6.1.1",
"prettier": "^3.1.0",
"sass": "^1.69.5",
"stylelint": "^15.10.2",
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard-scss": "^10.0.0",
"tailwindcss": "^3.4.1"
},
"scripts": {
"heroku-postbuild": "npm run build",
"build": "npx npm-run-all --print-label --parallel build:*",
"watch": "npx npm-run-all --print-label --parallel watch:*",
"lint": "npx npm-run-all --parallel lint:*",
"build:js": "npx 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": "npx babel ./hypha/static_src/images --out-dir ./hypha/static_compiled/images --copy-files",
"watch:js": "npx babel --watch ./hypha/static_src/javascript --out-dir ./hypha/static_compiled/js",
"watch:sass": "sass --watch ./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:static": "nodemon --delay 3 --exec \"npm run collectstatic\" --watch ./hypha/static_compiled --ext css,js,json,png,svg",
"watch:lint": "nodemon --exec \"npm run lint\" --watch ./hypha/static_src/sass --watch ./hypha/static_src/javscript --ext scss,js",
"dev:build": "npx npm-run-all --print-label --serial clean --parallel dev:build:* --serial collectstatic",
"dev:build:js": "npm run build:js",
"dev:build:sass": "sass ./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\"",
"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.10.x"
},
"private": true
}