-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
68 lines (68 loc) · 1.98 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
{
"name": "weather-maps",
"version": "0.0.1",
"description": "Various opengl mapbox weather maps",
"main": "index.ts",
"author": "Fabian Brosda",
"license": "MIT",
"scripts": {
"build": "npm run-script build:server && npm run-script build:client",
"build:server": "npx tsc -p src/",
"build:server:watch": "npx nodemon --ext 'ts' --watch 'src/**/' --exec 'npm run-script build:server && npm run-script start'",
"build:client": "npx tsc -p resources/script/",
"postbuild:client": "cp -r -t dist/resources/ resources/html resources/css resources/shader resources/img && cp node_modules/tachyons/css/tachyons.css dist/resources/css/",
"build:client:watch": "npx tsc -w -p resources/script/",
"start": "cd ./dist && node src/index.js",
"clean": "rm -rf dist/",
"version": "echo $npm_package_version"
},
"dependencies": {
"install": "^0.13.0",
"lookpath": "^1.2.2",
"npm": "^10.5.2",
"pngjs": "^6.0.0",
"typescript-language-server": "^3.0.3"
},
"devDependencies": {
"@types/node": "^18.11.18",
"@types/pngjs": "^6.0.1",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.40.0",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"maplibre-gl": "^2.4.0",
"nodemon": "^2.0.20",
"prettier": "^2.8.3",
"tachyons": "^4.12.0",
"typescript": "^4.9.5"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"prettier"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parserOptions": {
"ecmaVersion": 2019
},
"env": {
"node": true,
"es6": true
},
"rules": {
"@typescript-eslint/no-use-before-define": [
"error",
{
"functions": false
}
]
}
}
}