-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
20 lines (20 loc) · 1.13 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"name": "oekostrom-web",
"version": "1.0.0",
"scripts": {
"2json": "mkdir -p assets/data && cat assets/data-src/providers-january-2020-7.csv | yarn run csvtojson > assets/data/providers.json",
"cpcriteria": "cp assets/data-src/kriterien.csv assets/data/criteria.csv",
"cpdeps": "cp node_modules/lunr/lunr.js node_modules/vue/dist/vue.min.js -t assets/js/",
"rm1stlinefromjson": "sed '1d' assets/data/providers.json > assets/data/providers.json.tmp && mv assets/data/providers.json.tmp assets/data/providers.json",
"buildindex": "cat assets/data/providers.json | node _scripts/build_index.js > assets/data/indexanddata.json",
"cpprovider": "cp -r assets/data-src/provider assets/data/provider && cp assets/data-src/providers-january-2020-7.csv assets/data/providers.csv && cp assets/data-src/README.md assets/data/README.md",
"everything": "yarn run 2json && yarn run rm1stlinefromjson && yarn run buildindex && yarn run cpcriteria && yarn run cpdeps && yarn run cpprovider"
},
"main": "index.js",
"license": "MIT",
"dependencies": {
"csvtojson": "^2.0.10",
"lunr": "^2.3.7",
"vue": "^2.6.10"
}
}