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