-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 loc) · 1.57 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
{
"name": "meteor-elm-app-bare",
"private": true,
"main": "packages/elm-app/dist/elm-app.js",
"targets": {
"main": {
"optimize": true
}
},
"scripts": {
"build": "npm run elm:build && npm run css:build",
"elm:build": "parcel build packages/elm-app/app/elm-app.ts --dist-dir packages/elm-app/dist --no-content-hash --no-cache",
"elm:watch": "parcel watch packages/elm-app/app/elm-app.ts --dist-dir packages/elm-app/dist --no-content-hash",
"css:build": "cd ./packages/elm-app/app && npx tailwindcss -c ./tailwind.config.js -i main.css -o ../dist/elm-app.css",
"css:watch": "npm run css:build -- --watch",
"meteor:run": "meteor run",
"start": "rimraf \"./packages/elm-app/dist/*\" && concurrently -n \"parcel,css,meteor\" -c \"magenta,yellow,green\" \"meteor npm run elm:watch\" \"meteor npm run css:watch\" \"wait-on ./packages/elm-app/dist/elm-app.js && meteor npm run meteor:run\"",
"postinstall": "meteor npm run build"
},
"meteor": {
"mainModule": {
"client": "client/main.ts",
"server": "server/main.ts"
}
},
"dependencies": {
"@babel/runtime": "^7.21.0",
"meteor-node-stubs": "^1.2.5"
},
"devDependencies": {
"@parcel/transformer-elm": "^2.8.2",
"@parcel/transformer-typescript-tsc": "^2.8.2",
"@types/meteor": "^2.9.1",
"@types/mocha": "^10.0.1",
"concurrently": "^7.6.0",
"elm": "^0.19.1-5",
"elm-format": "^0.8.6",
"parcel": "^2.8.3",
"rimraf": "^4.3.0",
"sass": "^1.58.3",
"tailwindcss": "^3.2.7",
"typescript": "^4.9.5",
"wait-on": "^7.0.1"
}
}