mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Upgrade babel, babel-eslint; remove babel-core dep
This commit is contained in:
+16
-17
@@ -3,8 +3,8 @@
|
||||
"description": "A set of complementary tools to React, including the JSX transformer.",
|
||||
"version": "0.14.0-beta1",
|
||||
"keywords": [
|
||||
"react",
|
||||
"jsx",
|
||||
"react",
|
||||
"transformer",
|
||||
"view"
|
||||
],
|
||||
@@ -12,8 +12,8 @@
|
||||
"bugs": "https://github.com/facebook/react/issues",
|
||||
"license": "BSD-3-Clause",
|
||||
"files": [
|
||||
"main.js",
|
||||
"bin/jsx",
|
||||
"main.js",
|
||||
"src/"
|
||||
],
|
||||
"main": "main.js",
|
||||
@@ -29,9 +29,8 @@
|
||||
"jstransform": "^11.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel": "~5.6.23",
|
||||
"babel-core": "~5.6.20",
|
||||
"babel-eslint": "^3.1.14",
|
||||
"babel": "^5.8.3",
|
||||
"babel-eslint": "^3.1.25",
|
||||
"benchmark": "^1.0.0",
|
||||
"browserify": "^9.0.3",
|
||||
"bundle-collapser": "^1.1.1",
|
||||
@@ -66,30 +65,30 @@
|
||||
"version": 7
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jest",
|
||||
"build": "grunt build",
|
||||
"jest": "jest",
|
||||
"lint": "grunt lint",
|
||||
"linc": "git diff --name-only --diff-filter=ACMRTUB `git merge-base HEAD master` | grep '\\.js$' | xargs eslint --",
|
||||
"build": "grunt build"
|
||||
"lint": "grunt lint",
|
||||
"test": "jest"
|
||||
},
|
||||
"jest": {
|
||||
"modulePathIgnorePatterns": [
|
||||
"/.module-cache/",
|
||||
"/node_modules/",
|
||||
"/react/build/"
|
||||
],
|
||||
"persistModuleRegistryBetweenSpecs": true,
|
||||
"rootDir": "",
|
||||
"scriptPreprocessor": "jest/preprocessor.js",
|
||||
"setupEnvScriptFile": "jest/environment.js",
|
||||
"persistModuleRegistryBetweenSpecs": true,
|
||||
"testFileExtensions": [
|
||||
"js",
|
||||
"coffee",
|
||||
"js",
|
||||
"ts"
|
||||
],
|
||||
"modulePathIgnorePatterns": [
|
||||
"/react/build/",
|
||||
"/node_modules/",
|
||||
"/.module-cache/"
|
||||
],
|
||||
"testPathDirs": [
|
||||
"<rootDir>/src",
|
||||
"<rootDir>/eslint-rules"
|
||||
"<rootDir>/eslint-rules",
|
||||
"<rootDir>/src"
|
||||
],
|
||||
"unmockedModulePathPatterns": [
|
||||
""
|
||||
|
||||
Reference in New Issue
Block a user