package.json 3.35 KB
Newer Older
Thomas Roos's avatar
Thomas Roos committed
1
{
2
  "name": "zesje",
Thomas Roos's avatar
Thomas Roos committed
3
  "main": "index.js",
4
  "license": "AGPL-3.0",
Thomas Roos's avatar
Thomas Roos committed
5
  "scripts": {
6
    "dev": "concurrently --kill-others --names \"WEBPACK,PYTHON,CELERY\" --prefix-colors \"bgBlue.bold,bgGreen.bold,bgRed.bold\" \"webpack-dev-server --hot --inline --progress --config webpack.dev.js\" \"ZESJE_SETTINGS=$(pwd)/zesje.dev.cfg python3 zesje\" \"ZESJE_SETTINGS=$(pwd)/zesje.dev.cfg celery -A zesje.celery worker -l info --autoscale=4,1 --max-tasks-per-child=16\"",
7
    "build": "webpack --config webpack.prod.js",
8 9
    "ci": "yarn lint; yarn test",
    "lint": "yarn lint:js; yarn lint:py",
Thomas Roos's avatar
Thomas Roos committed
10
    "test": "yarn test:js; yarn test:py",
11 12 13
    "lint:js": "standard --verbose | snazzy",
    "test:js": "jest",
    "lint:py": "flake8",
14
    "test:py": "python3 -m pytest -v -W error::RuntimeWarning",
15
    "start": "ZESJE_SETTINGS=$(pwd)/zesje.dev.cfg python3 zesje",
16
    "analyze": "webpack --config webpack.prod.js --profile --json > stats.json; webpack-bundle-analyzer stats.json zesje/static",
17
    "migrate:dev": "ZESJE_SETTINGS=$(pwd)/zesje.dev.cfg FLASK_APP=zesje/__init__.py flask db upgrade",
18
    "migrate": "FLASK_APP=zesje/__init__.py flask db upgrade",
19
    "prepare-migration": "ZESJE_SETTINGS=$(pwd)/zesje.dev.cfg FLASK_APP=zesje/__init__.py flask db migrate",
20
    "test:py:cov": "python3 -m pytest -v -W error::RuntimeWarning --cov=zesje --cov-report=xml:cov.xml --cov-report=html:cov.html --cov-report=term tests/",
21
    "migrate-down": "FLASK_APP=zesje/__init__.py flask db downgrade"
Thomas Roos's avatar
Thomas Roos committed
22
  },
Thomas Roos's avatar
Thomas Roos committed
23
  "standard": {
24
    "parser": "babel-eslint",
25
    "globals": [
26
      "__ZESJE_VERSION__",
27
      "alert",
28
      "confirm"
29
    ]
Thomas Roos's avatar
Thomas Roos committed
30
  },
Thomas Roos's avatar
Thomas Roos committed
31 32
  "dependencies": {
    "babel-plugin-syntax-dynamic-import": "^6.18.0",
Thomas Roos's avatar
Thomas Roos committed
33
    "babel-plugin-transform-class-properties": "^6.24.1",
34
    "babel-plugin-transform-object-rest-spread": "^6.26.0",
Thomas Roos's avatar
Thomas Roos committed
35
    "bulma": "^0.7.1",
36
    "bulma-tooltip": "^2.0.1",
Thomas Roos's avatar
Thomas Roos committed
37
    "concurrently": "^3.6.0",
Thomas Roos's avatar
Thomas Roos committed
38
    "css-loader": "^1.0.0",
Thomas Roos's avatar
Thomas Roos committed
39 40
    "file-loader": "^1.1.6",
    "font-awesome": "^4.7.0",
Thomas Roos's avatar
Thomas Roos committed
41
    "fuse.js": "^3.2.1",
42
    "html-loader": "^0.5.5",
43
    "html-webpack-plugin": "^3.2.0",
Justin van der Krieken's avatar
Justin van der Krieken committed
44
    "image-dimensions-loader": "^0.1.0",
45
    "immutability-helper": "^2.7.0",
46
    "markdown-loader": "^3.0.0",
Thomas Roos's avatar
Thomas Roos committed
47
    "mini-css-extract-plugin": "^0.4.1",
Thomas Roos's avatar
Thomas Roos committed
48
    "mousetrap": "^1.6.2",
Thomas Roos's avatar
Thomas Roos committed
49
    "optimize-css-assets-webpack-plugin": "^4.0.3",
Thomas Roos's avatar
Thomas Roos committed
50
    "path": "^0.12.7",
51
    "raw-loader": "^0.5.1",
52
    "react": "^16.4.0",
53
    "react-autosuggest": "^9.3.4",
54
    "react-bulma-notification": "^1.1.0",
55
    "react-dom": "^16.4.0",
Thomas Roos's avatar
Thomas Roos committed
56
    "react-dropzone": "^4.2.13",
Thomas Roos's avatar
Thomas Roos committed
57
    "react-hot-loader": "^4.3.3",
58
    "react-loadable": "^5.4.0",
59
    "react-pdf": "^3.0.5",
Thomas Roos's avatar
Thomas Roos committed
60
    "react-rnd": "^8.0.2",
Thomas Roos's avatar
Thomas Roos committed
61
    "react-router-dom": "^4.3.1",
62
    "react-table": "^6.8.6",
Thomas Roos's avatar
Thomas Roos committed
63
    "style-loader": "^0.21.0",
Thomas Roos's avatar
Thomas Roos committed
64
    "uglifyjs-webpack-plugin": "^1.2.7",
65
    "url-loader": "^1.0.1",
Thomas Roos's avatar
Thomas Roos committed
66
    "webpack": "^4.15.1",
Thomas Roos's avatar
Thomas Roos committed
67 68
    "webpack-cli": "^3.0.8",
    "webpack-merge": "^4.1.3"
Thomas Roos's avatar
Thomas Roos committed
69 70 71
  },
  "devDependencies": {
    "babel-core": "^6.26.0",
Thomas Roos's avatar
Thomas Roos committed
72
    "babel-eslint": "^8.2.5",
Thomas Roos's avatar
Thomas Roos committed
73
    "babel-jest": "^23.2.0",
Thomas Roos's avatar
Thomas Roos committed
74
    "babel-loader": "^7.1.5",
75
    "babel-preset-env": "^1.7.0",
Thomas Roos's avatar
Thomas Roos committed
76 77
    "babel-preset-flow": "^6.23.0",
    "babel-preset-react": "^6.24.1",
78 79
    "enzyme": "^3.8.0",
    "enzyme-adapter-react-16": "^1.7.1",
80
    "identity-obj-proxy": "^3.0.0",
Thomas Roos's avatar
Thomas Roos committed
81
    "jest": "^23.3.0",
82
    "react-test-renderer": "^16.3.2",
83 84
    "snazzy": "^7.1.1",
    "standard": "^11.0.1",
85 86
    "webpack-bundle-analyzer": "^2.13.1",
    "webpack-dev-server": "^3.1.4"
Thomas Roos's avatar
Thomas Roos committed
87 88
  }
}