-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
73 lines (73 loc) · 2.83 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
{
"name": "meteor-elm-starter-kit",
"private": true,
"scripts": {
"lint": "eslint './{client,server,imports,packages}/**/*.{js,ts}' && prettier --check \"./{client,server,imports,packages}/**/*.{ts,js}\" \"*.{json,md,yml}\"",
"lint:fix": "prettier --write \"./{client,server,imports,packages}/**/*.{ts,js}\" \"*.{json,md,yml}\"",
"book": "parcel packages/elm-app/app/book.html --port 3030 --dist-dir packages/elm-app/dist/__book --no-cache",
"build": "npm run build:css && npm run build:elm",
"build:css": "NODE_ENV=production npm run css -- --minify",
"build:elm": "parcel build packages/elm-app/app/index.ts --dist-dir packages/elm-app/dist --no-cache",
"css": "npx tailwindcss -c ./packages/elm-app/app/tailwind.config.js -i ./packages/elm-app/app/css/style.css -o ./packages/elm-app/dist/style.css",
"dev": "concurrently npm:dev:*",
"dev:elm:watch": "parcel watch packages/elm-app/app/index.ts --dist-dir packages/elm-app/dist --no-cache",
"dev:css": "meteor npm run css -- --watch",
"meteor:run": "meteor run",
"start": "rimraf \"./packages/elm-app/dist/*\" && concurrently -n \"dev,meteor\" -c \"magenta,green\" \"meteor npm run dev:*\" \"wait-on ./packages/elm-app/dist/index.js && meteor npm run meteor:run\"",
"prepare": "husky install",
"postinstall": "meteor npm run build"
},
"meteor": {
"mainModule": {
"client": "client/main.ts",
"server": "server/main.ts"
}
},
"dependencies": {
"@babel/runtime": "^7.17.2",
"meteor-node-stubs": "^1.1.0"
},
"devDependencies": {
"@parcel/transformer-elm": "^2.3.2",
"@tailwindcss/forms": "^0.4.0",
"@types/meteor": "^2.0.4",
"@types/mocha": "^9.1.0",
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",
"concurrently": "^7.0.0",
"elm": "^0.19.1-5",
"elm-format": "^0.8.5",
"elm-hot": "^1.1.6",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"import-sort-style-module": "^6.0.0",
"lint-staged": "^12.3.4",
"node-elm-compiler": "^5.0.6",
"parcel": "^2.3.2",
"prettier": "^2.5.1",
"prettier-plugin-import-sort": "^0.0.7",
"rimraf": "^3.0.2",
"sass": "^1.49.8",
"tailwindcss": "^3.0.23",
"typescript": "^4.5.5",
"wait-on": "^6.0.1"
},
"importSort": {
".js, .ts": {
"style": "module",
"parser": "typescript"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts}": [
"meteor npm run lint:fix"
]
}
}