summaryrefslogtreecommitdiffstats
path: root/web/react/package.json
blob: 41b2468af18116d3437dad4b4061d3e4ca962a60 (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
  "name": "mattermost",
  "version": "0.0.1",
  "private": true,
  "dependencies": {
    "autolinker": "0.22.0",
    "flux": "2.1.1",
    "highlight.js": "8.9.1",
    "keymirror": "0.1.1",
    "marked": "0.3.5",
    "object-assign": "4.0.1",
    "twemoji": "1.4.1"
  },
  "devDependencies": {
    "browserify": "12.0.1",
    "babelify": "7.2.0",
    "babel-preset-es2015": "6.1.18",
    "babel-preset-stage-0": "6.1.18",
    "babel-preset-react": "6.1.18",
    "babel-plugin-transform-runtime": "6.1.4",
    "uglify-js": "2.6.1",
    "watchify": "3.6.1",
    "eslint": "1.9.0",
    "eslint-plugin-react": "3.9.0",
    "exorcist": "0.4.0",
    "babel-eslint": "4.1.5"
  },
  "scripts": {
    "check": "",
    "build-libs": "browserify -r crypto -r autolinker -r flux -r keymirror -r marked -r object-assign -r twemoji | uglifyjs -c -m --screw-ie8 > ../static/js/libs.min.js",
    "start": "watchify --fast -x crypto -x node -x autolinker -x flux -x keymirror -x marked -x object-assign -x twemoji -o ../static/js/bundle.js -v -d ./**/*.jsx",
    "build": "browserify -x crypto -x autolinker -x flux -x keymirror -x marked -x object-assign -x twemoji -d ./**/*.jsx | exorcist ../static/js/inter.js.map > ../static/js/tmp.js && uglifyjs ../static/js/tmp.js --in-source-map \"../static/js/inter.js.map\" --source-map \"../static/js/bundle.min.js.map\" --source-map-url \"/static/js/bundle.min.js.map\" -c -m --screw-ie8 > ../static/js/bundle.min.js && rm ../static/js/tmp.js && rm ../static/js/inter.js.map"
  },
  "browserify": {
    "transform": [
      [
        "babelify",
        {
          "presets": [
            "es2015",
            "react",
            "stage-0"
          ],
          "plugins": [
            "transform-runtime"
          ]
        }
      ]
    ]
  }
}