瀏覽代碼

misc: set supported Node version to >= 6

master
Saúl Ibarra Corretgé 8 年之前
父節點
當前提交
e78c70e53d
共有 2 個檔案被更改,包括 5 行新增0 行删除
  1. 2
    0
      README.md
  2. 3
    0
      package.json

+ 2
- 0
README.md 查看文件

28
 
28
 
29
 ## Building the sources
29
 ## Building the sources
30
 
30
 
31
+Node.js >= 6 is required.
32
+
31
 On Debian/Ubuntu systems, the required packages can be installed with:
33
 On Debian/Ubuntu systems, the required packages can be installed with:
32
 ```
34
 ```
33
 sudo apt-get install npm nodejs-legacy
35
 sudo apt-get install npm nodejs-legacy

+ 3
- 0
package.json 查看文件

98
     "webpack": "2.6.1",
98
     "webpack": "2.6.1",
99
     "webpack-dev-server": "2.4.5"
99
     "webpack-dev-server": "2.4.5"
100
   },
100
   },
101
+  "engines": {
102
+      "node": ">=6.0.0"
103
+  },
101
   "license": "Apache-2.0",
104
   "license": "Apache-2.0",
102
   "scripts": {
105
   "scripts": {
103
     "lint": "jshint . && eslint . && flow",
106
     "lint": "jshint . && eslint . && flow",

Loading…
取消
儲存