package.json 3.21 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
    "cov": "python -m pytest --cov=zesje --cov-report=xml:cov.xml tests/"
Thomas Roos's avatar
Thomas Roos committed
21
  },
Thomas Roos's avatar
Thomas Roos committed
22
  "standard": {
23
    "parser": "babel-eslint",
24
    "globals": [
25
      "__ZESJE_VERSION__",
26
      "alert",
27
      "confirm"
28
    ]
Thomas Roos's avatar
Thomas Roos committed
29
  },
Thomas Roos's avatar
Thomas Roos committed
30 31
  "dependencies": {
    "babel-plugin-syntax-dynamic-import": "^6.18.0",
Thomas Roos's avatar
Thomas Roos committed
32
    "babel-plugin-transform-class-properties": "^6.24.1",
33
    "babel-plugin-transform-object-rest-spread": "^6.26.0",
Thomas Roos's avatar
Thomas Roos committed
34
    "bulma": "^0.7.1",
35
    "bulma-tooltip": "^2.0.1",
Thomas Roos's avatar
Thomas Roos committed
36
    "concurrently": "^3.6.0",
Thomas Roos's avatar
Thomas Roos committed
37
    "css-loader": "^1.0.0",
Thomas Roos's avatar
Thomas Roos committed
38 39
    "file-loader": "^1.1.6",
    "font-awesome": "^4.7.0",
Thomas Roos's avatar
Thomas Roos committed
40
    "fuse.js": "^3.2.1",
41
    "html-loader": "^0.5.5",
42
    "html-webpack-plugin": "^3.2.0",
Justin van der Krieken's avatar
Justin van der Krieken committed
43
    "image-dimensions-loader": "^0.1.0",
44
    "immutability-helper": "^2.7.0",
45
    "markdown-loader": "^3.0.0",
Thomas Roos's avatar
Thomas Roos committed
46
    "mini-css-extract-plugin": "^0.4.1",
Thomas Roos's avatar
Thomas Roos committed
47
    "mousetrap": "^1.6.2",
Thomas Roos's avatar
Thomas Roos committed
48
    "optimize-css-assets-webpack-plugin": "^4.0.3",
Thomas Roos's avatar
Thomas Roos committed
49
    "path": "^0.12.7",
50
    "raw-loader": "^0.5.1",
51
    "react": "^16.4.0",
52
    "react-autosuggest": "^9.3.4",
53
    "react-bulma-notification": "^1.1.0",
54
    "react-dom": "^16.4.0",
Thomas Roos's avatar
Thomas Roos committed
55
    "react-dropzone": "^4.2.13",
Thomas Roos's avatar
Thomas Roos committed
56
    "react-hot-loader": "^4.3.3",
57
    "react-loadable": "^5.4.0",
58
    "react-pdf": "^3.0.5",
Thomas Roos's avatar
Thomas Roos committed
59
    "react-rnd": "^8.0.2",
Thomas Roos's avatar
Thomas Roos committed
60
    "react-router-dom": "^4.3.1",
61
    "react-table": "^6.8.6",
Thomas Roos's avatar
Thomas Roos committed
62
    "style-loader": "^0.21.0",
Thomas Roos's avatar
Thomas Roos committed
63
    "uglifyjs-webpack-plugin": "^1.2.7",
64
    "url-loader": "^1.0.1",
Thomas Roos's avatar
Thomas Roos committed
65
    "webpack": "^4.15.1",
Thomas Roos's avatar
Thomas Roos committed
66 67
    "webpack-cli": "^3.0.8",
    "webpack-merge": "^4.1.3"
Thomas Roos's avatar
Thomas Roos committed
68 69 70
  },
  "devDependencies": {
    "babel-core": "^6.26.0",
Thomas Roos's avatar
Thomas Roos committed
71
    "babel-eslint": "^8.2.5",
Thomas Roos's avatar
Thomas Roos committed
72
    "babel-jest": "^23.2.0",
Thomas Roos's avatar
Thomas Roos committed
73
    "babel-loader": "^7.1.5",
74
    "babel-preset-env": "^1.7.0",
Thomas Roos's avatar
Thomas Roos committed
75 76
    "babel-preset-flow": "^6.23.0",
    "babel-preset-react": "^6.24.1",
77 78
    "enzyme": "^3.8.0",
    "enzyme-adapter-react-16": "^1.7.1",
79
    "identity-obj-proxy": "^3.0.0",
Thomas Roos's avatar
Thomas Roos committed
80
    "jest": "^23.3.0",
81
    "react-test-renderer": "^16.3.2",
82 83
    "snazzy": "^7.1.1",
    "standard": "^11.0.1",
84 85
    "webpack-bundle-analyzer": "^2.13.1",
    "webpack-dev-server": "^3.1.4"
Thomas Roos's avatar
Thomas Roos committed
86 87
  }
}