-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
91 lines (91 loc) · 3.09 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "igc-xc-score",
"version": "1.7.0",
"description": "igc-xc-score is a paragliding and hang-gliding XC scoring program in vanilla JS",
"main": "dist/index.cjs",
"module": "index.js",
"type": "module",
"types": "index.d.ts",
"directories": {
"lib": "src",
"test": "test",
"example": "www"
},
"bin": {
"igc-xc-score": "dist/igc-xc-score.cjs"
},
"scripts": {
"test": "npm run test:es && npm run test:cjs && npm run eslint",
"test:es": "node --max-old-space-size=2048 test/test",
"test:cjs": "node test/test.cjs",
"eslint": "eslint src",
"doc": "jsdoc -d doc src/solver.js scoring-rules.config.js",
"nexe:linux": "nexe -i dist/igc-xc-score.cjs -o dist/igc-xc-score-linux-x86-x64 -t linux-x64-12.16.2",
"nexe:win": "nexe -i dist/igc-xc-score.cjs -o dist/igc-xc-score.exe -t windows-x64-12.16.3",
"nexe:mac": "nexe -i dist/igc-xc-score.cjs -o dist/igc-xc-score-macos -t darwin-x64-12.15.0",
"nexe": "npm run nexe:linux && npm run nexe:win && npm run nexe:mac",
"www": "webpack --mode=production",
"watch": "webpack --mode=development --watch",
"wwwdist": "zip -j dist/igc-xc-score-web.zip dist/www/*",
"prepare": "rollup -c && npm run nexe && npm run www && npm run doc",
"c8": "npx c8 node --no-warnings test/test.js",
"lcov": "npx c8 report --reporter=text-lcov > coverage/tests.lcov",
"codecov": "curl -s https://codecov.io/bash | bash",
"preversion": "npm test",
"version": "npm run prepare && git add package.json",
"postversion": "git push && git push --tags && npm run upload",
"upload": "npm run wwwdist && gh release create -d -t $npm_package_version --notes '' v$npm_package_version dist/igc-xc-score*"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mmomtchev/igc-xc-score.git"
},
"keywords": [
"igc",
"paragliding",
"hang-gliding",
"gliding"
],
"author": "Momtchil Momtchev <momtchil@momtchev.com>",
"license": "LGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/mmomtchev/igc-xc-score/issues"
},
"homepage": "https://github.com/mmomtchev/igc-xc-score#readme",
"dependencies": {
"collections": "^5.1.13",
"flatbush": "^4.2.0",
"igc-parser": "^1.1.0",
"rbush": "^3.0.1"
},
"devDependencies": {
"@popperjs/core": "^2.11.6",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"bootstrap": "^5.3.2",
"c8": "^9.0.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.0.0",
"elliptic": ">=6.5.4",
"eslint": "^8.56.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"jquery": "^3.7.1",
"jsdoc": "^4.0.2",
"nexe": "^4.0.0-rc.1",
"ol": "^9.0.0",
"ol-layerswitcher": "^4.1.1",
"rollup": "^2.79.1",
"rollup-plugin-executable": "^1.6.3",
"rollup-plugin-terser": "^7.0.2",
"style-loader": "^4.0.0",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"engines": {
"node": ">=18"
}
}