-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 2.02 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
{
"name": "transport-hours",
"version": "0.0.0",
"description": "Library for reading/writing public transport hours information from OpenStreetMap",
"main": "src/TransportHours.js",
"scripts": {
"test": "jest",
"watch": "jest --watch",
"doc": "npm run doc:check && documentation build ./src/*.js -f md --shallow > API.md",
"doc:check": "documentation lint ./src/*.js",
"build": "npm run assets && npm run build:js",
"assets": "mkdir -p ./dist && cp ./src/index.html ./dist/",
"build:js": "browserify ./src/TransportHours.js -o ./dist/TransportHours.js -s TransportHours -t [ babelify --presets [ @babel/preset-env ] --no-comments ]",
"build:values": "wget \"http://overpass-api.de/api/interpreter?data=%5Bout%3Acsv%28%22interval%3Aconditional%22%29%5D%5Btimeout%3A25%5D%3B%0A%28%0A%20%20relation%5B%22interval%3Aconditional%22%5D%3B%0A%29%3B%0Aout%20body%3B\" -O res/overpass_values.txt ; cat res/overpass_values.txt | tail -n +2 | sort | uniq | sed 's/^\"//g;s/\"$//g' > res/interval_conditional.txt",
"build:embedgit": "git add -f ./API.md ./dist/",
"clean": "rm -rf ./dist"
},
"pre-commit": [
"clean",
"test",
"doc",
"build",
"build:embedgit"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Jungle-Bus/transport-hours-js.git"
},
"keywords": [
"jungle-bus",
"transport",
"hours",
"opening",
"hours",
"interval",
"parser"
],
"author": "Adrien Pavie",
"license": "LGPL-3.0",
"bugs": {
"url": "https://github.com/Jungle-Bus/transport-hours-js/issues"
},
"homepage": "https://github.com/Jungle-Bus/transport-hours-js#readme",
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"babel-preset-minify": "^0.5.0",
"babelify": "^10.0.0",
"browserify": "^16.2.3",
"documentation": "^11.0.0",
"jest": "^24.8.0",
"pre-commit": "^1.2.2"
},
"dependencies": {
"array-flat-polyfill": "^1.0.1",
"fast-deep-equal": "^2.0.1"
}
}