@samitouri / QOS-React-2 / commits / ecb4433cc9

Upgrade babel, babel-eslint; remove babel-core dep

Paul O’Shannessy committed Jul 21, 2015 at 16:59 UTC ecb4433cc96f02ac3fdc31ff0c6f47cfe7c1eff2
1 file changed +16 -17
package.json
+16 -17
@@ -3,8 +3,8 @@
3 "description": "A set of complementary tools to React, including the JSX transformer.",
4 "version": "0.14.0-beta1",
5 "keywords": [
6 - "react",
6 "jsx",
7 + "react",
8 "transformer",
9 "view"
10 ],
@@ -12,8 +12,8 @@
12 "bugs": "https://github.com/facebook/react/issues",
13 "license": "BSD-3-Clause",
14 "files": [
15 - "main.js",
15 "bin/jsx",
16 + "main.js",
17 "src/"
18 ],
19 "main": "main.js",
@@ -29,9 +29,8 @@
29 "jstransform": "^11.0.0"
30 },
31 "devDependencies": {
32 - "babel": "~5.6.23",
33 - "babel-core": "~5.6.20",
34 - "babel-eslint": "^3.1.14",
32 + "babel": "^5.8.3",
33 + "babel-eslint": "^3.1.25",
34 "benchmark": "^1.0.0",
35 "browserify": "^9.0.3",
36 "bundle-collapser": "^1.1.1",
@@ -66,30 +65,30 @@
65 "version": 7
66 },
67 "scripts": {
69 - "test": "jest",
68 + "build": "grunt build",
69 "jest": "jest",
71 - "lint": "grunt lint",
70 "linc": "git diff --name-only --diff-filter=ACMRTUB `git merge-base HEAD master` | grep '\\.js$' | xargs eslint --",
73 - "build": "grunt build"
71 + "lint": "grunt lint",
72 + "test": "jest"
73 },
74 "jest": {
75 + "modulePathIgnorePatterns": [
76 + "/.module-cache/",
77 + "/node_modules/",
78 + "/react/build/"
79 + ],
80 + "persistModuleRegistryBetweenSpecs": true,
81 "rootDir": "",
82 "scriptPreprocessor": "jest/preprocessor.js",
83 "setupEnvScriptFile": "jest/environment.js",
79 - "persistModuleRegistryBetweenSpecs": true,
84 "testFileExtensions": [
81 - "js",
85 "coffee",
86 + "js",
87 "ts"
88 ],
85 - "modulePathIgnorePatterns": [
86 - "/react/build/",
87 - "/node_modules/",
88 - "/.module-cache/"
89 - ],
89 "testPathDirs": [
91 - "<rootDir>/src",
92 - "<rootDir>/eslint-rules"
90 + "<rootDir>/eslint-rules",
91 + "<rootDir>/src"
92 ],
93 "unmockedModulePathPatterns": [
94 ""