-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
34 lines (34 loc) · 1.99 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
{
"name": "here_for_change",
"version": "1.0.0",
"description": "A public participation platform at your local level.",
"license": "MIT",
"private": false,
"scripts": {
"db-dump-demo-data": "docker-compose run --rm web python manage.py dumpdata --exclude=auth --exclude=contenttypes --exclude=sessions --exclude=admin",
"db-load-demo-data": "docker-compose run --rm web python manage.py loaddata demo-data",
"db-load-full-data": "docker-compose run --rm web python manage.py loaddata full-data",
"unzip-full-data": "python -m zipfile -e here_for_change/municipalities/fixtures/data.json.zip here_for_change/municipalities/fixtures/ && rm -rf here_for_change/municipalities/fixtures/__MACOSX",
"db-load-wards": "docker-compose run --rm web python load_wards.py",
"db-load-municipalities": "docker-compose run --rm web python load_municipalities.py",
"db-load-provinces": "docker-compose run --rm web python load_provinces.py",
"db-load-demo-wards-details": "docker-compose run --rm web python load_dummy_ward_details.py",
"db-load-wards-details": "docker-compose run --rm web python load_ward_details_data_file.py",
"db-load-municipality-details": "docker-compose run --rm web python load_municipality_details.py",
"db-migrate": "docker-compose run --rm web python manage.py migrate",
"dev-init": "yarn install && yarn unzip-full-data && yarn db-migrate && yarn db-load-full-data && yarn tailwind-watch",
"dev": "yarn tailwind-watch & docker-compose up",
"dev-reset": "rm -r node_modules & docker-compose down --volumes",
"test": "cypress run",
"tailwind-watch": "tailwindcss -i ./here_for_change/static/css/styles.css -o ./staticfiles/css/main.css --watch",
"tailwind-build": "tailwindcss -i ./here_for_change/static/css/styles.css -o ./staticfiles/css/main.css --minify"
},
"dependencies": {
"tailwindcss": "^3.1.7"
},
"devDependencies": {
"cypress": "^10.4.0",
"prettier": "^2.7.1",
"prettier-plugin-tailwindcss": "^0.1.13"
}
}