-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
51 lines (51 loc) · 1.74 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
{
"name": "ticket-booth",
"private": true,
"dependencies": {
"@hotwired/stimulus": "^3.2.2",
"@hotwired/turbo-rails": "^8.0.4",
"@popperjs/core": "^2.11.8",
"@stripe/stripe-js": "^3.4.0",
"autoprefixer": "^10.4.19",
"bootstrap": "^5.3.3",
"bootstrap-icons": "^1.11.3",
"css-loader": "^7.1.1",
"esbuild": "^0.21.1",
"flatpickr": "^4.6.13",
"fs": "^0.0.1-security",
"jquery": "^3.7.1",
"mini-css-extract-plugin": "^2.9.0",
"nodemon": "^3.1.0",
"postcss": "^8.4.38",
"postcss-cli": "^11.0.0",
"sass": "^1.77.0",
"sass-loader": "^14.2.1"
},
"devDependencies": {
"cypress": "^13.7.3",
"globals": "^15.0.0"
},
"scripts": {
"assets": "yarn run clean && yarn run build:css && yarn run build",
"build": "esbuild app/javascript/*.* app/javascript/controllers/*.* --bundle --sourcemap --format=esm --outdir=app/assets/builds --public-path=/assets",
"build:css": "yarn run build:css:index && yarn build:css:compile && yarn build:css:prefix",
"build:css:compile": "sass ./app/assets/stylesheets/application.bootstrap.scss:./app/assets/builds/application.css --load-path=node_modules --no-source-map",
"build:css:prefix": "postcss ./app/assets/builds/application.css --use=autoprefixer --output=./app/assets/builds/application.css",
"build:css:index": "bin/site-index",
"watch:css": "nodemon --watch ./app/assets/stylesheets/ --ext scss --exec \"yarn build:css\"",
"watch:js": "nodemon --watch ./app/javascript/ --ext js --exec \"yarn build\"",
"clean": "rm -rf app/assets/builds/*"
},
"volta": {
"node": "20.15.1",
"yarn": "1.22.22"
},
"babel": {
"presets": [
"./webpack.babel.js"
]
},
"browserslist": [
"defaults"
]
}