forked from HyphaApp/hypha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 3.69 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
{
"name": "Hypha",
"version": "1.0.0",
"description": "The node.js requirements to build this project.",
"author": "Fredrik Jonsson",
"license": "GPL-2.0",
"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.12.3",
"@babel/cli": "^7.22.6",
"@babel/core": "^7.22.8",
"@babel/preset-env": "^7.22.7",
"@tailwindcss/forms": "^0.5.3",
"alpinejs": "^3.12.3",
"core-js": "^3.31.1",
"daterangepicker": "^3.1.0",
"eslint": "^8.44.0",
"eslint-plugin-template": "^0.7.0",
"htmx.org": "^1.9.2",
"nodemon": "^3.0.1",
"npm-run-all2": "^6.0.6",
"sass": "^1.63.6",
"stylelint-config-standard-scss": "^10.0.0",
"stylelint-scss": "^5.0.1",
"tailwindcss": "^3.3.2"
},
"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/src/javascript --out-dir ./hypha/static_compiled/js",
"build:sass": "sass ./hypha/static_src/src/sass:./hypha/static_compiled/css --load-path ./hypha/static_src/src/sass --no-source-map",
"build:tailwind": "tailwindcss -i ./hypha/static_src/src/tailwind/main.css -o ./hypha/static_compiled/css/tailwind-output.css --minify",
"build:images": "npx babel ./hypha/static_src/src/images --out-dir ./hypha/static_compiled/images --copy-files",
"build:fonts": "npx babel ./hypha/static_src/src/fonts --out-dir ./hypha/static_compiled/fonts --copy-files",
"watch:js": "npx babel --watch ./hypha/static_src/src/javascript --out-dir ./hypha/static_compiled/js",
"watch:sass": "sass --watch ./hypha/static_src/src/sass:./hypha/static_compiled/css --load-path ./hypha/static_src/src/sass",
"watch:tailwind": "tailwindcss -i ./hypha/static_src/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/src/sass --watch ./hypha/static_src/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/src/sass:./hypha/static_compiled/css --load-path ./hypha/static_src/src/sass",
"dev:build:lint": "npm run lint",
"dev:build:tailwind": "tailwindcss -i ./hypha/static_src/src/tailwind/main.css -o ./hypha/static_compiled/css/tailwind-output.css",
"dev:build:images": "npm run build:images",
"dev:build:fonts": "npm run build:fonts",
"lint:sass": "stylelint \"hypha/static_src/src/sass/**/*.scss\"",
"lint:js": "eslint \"hypha/static_src/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": "18.x"
},
"private": true
}