-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 2.6 KB
/
package.json
File metadata and controls
52 lines (52 loc) · 2.6 KB
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
{
"name": "website",
"private": true,
"// we want to use type:module, but Meteor code is still CommonJS. So we set type:commonjs, then import our es modules from server/entry.js on the server": "",
"type": "commonjs",
"scripts": {
"start": "npm run dev",
"build": "npm run _link && tsc",
"build:clean": "npm run clean && npm run build",
"xdev": "npm run clean && npm run _link && tsc --watch & npm run _meteor -- -p 8765",
"dev": "npm run build:clean && concurrently --kill-others 'tsc --watch' 'npm run _meteor -- -p 8765'",
"_link": "symlink-dir imports public/imports",
"_meteor": "meteor --exclude-archs web.browser.legacy --no-lint",
"clean": "npm run _clean:unix || npm run --script-shell=pwsh _clean:windows",
"_clean:unix": "rm -rf `find client -name '*.js*'` && rm -rf `find public -name '*.js*'` && rm -rf `find server -name '*.js*'` && rm -rf `find imports -name '*.js*'`",
"_clean:windows": "Get-ChildItem -r -i client | Where{$_.Name -Match '*.\\.js*.'} | rm -r -fo && Get-ChildItem -r -i public | Where{$_.Name -Match '*.\\.js*.'} | rm -r -fo && Get-ChildItem -r -i server | Where{$_.Name -Match '*.\\.js*.'} | rm -r -fo",
"publish": "git push && npm run build && npm run _publish:add && git commit -m tmp-publish-commit && git push -f git@github.com:lumechef/website.git && git reset HEAD~ --hard",
"_publish:add": "git add -f public/imports && npm run _publish:add:unix || npm run --script-shell=pwsh _publish:add:windows",
"_publish:add:unix": "git add -f `find client -name '*.js*'` && git add -f `find public -name '*.js*'` && git add -f `find server -name '*.js*'` && git add -f `find imports -name '*.js*'`",
"_publish:add:windows": "Get-ChildItem -r -i client | Where{$_.Name -Match '*.\\.js*.'} | git add -f && Get-ChildItem -r -i public | Where{$_.Name -Match '*.\\.js*.'} | git add -f && Get-ChildItem -r -i server | Where{$_.Name -Match '*.\\.js*.'} | git add -f",
"// LUME Scripts below ///////////////////////////////////////": "",
"typecheck": "lume typecheck",
"typecheck:watch": "lume typecheckWatch"
},
"overrides": {
"@lume/element": "$@lume/element"
},
"dependencies": {
"@babel/runtime": "^7.15.4",
"@lume/element": "^0.16.0",
"@tweenjs/tween.js": "^18.6.4",
"@types/meteor": "^2.9.8",
"@types/three": "^0.174.0",
"jquery": "^3.7.1",
"lume": "^0.3.0-alpha.46",
"meteor-node-stubs": "^1.0.0",
"solid-js": "^1.9.0",
"symlink-dir": "^6.0.5",
"three": "^0.174.0",
"typescript": "^5.0.0"
},
"devDependencies": {
"@lume/cli": "^0.15.0",
"concurrently": "^9.1.2",
"prettier": "3.5.3"
},
"meteor": {
"mainModule": {
"server": "server/entry.js"
}
}
}