Skip to content

Commit

Permalink
Revert "Merge pull request #2586 from srchase/update-dev-dependencies" (
Browse files Browse the repository at this point in the history
#2587)

This reverts commit d8ff25e, reversing
changes made to 3899a45.
  • Loading branch information
AllanZhengYP authored Mar 19, 2019
1 parent d8ff25e commit 418a275
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 20 deletions.
5 changes: 0 additions & 5 deletions .changes/next-release/bugfix-dev dependencies-23e6494b.json

This file was deleted.

8 changes: 5 additions & 3 deletions dist-tools/webpack.config.rn-core.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// import path for resolving file paths
var path = require('path');
module.exports = {
mode: 'production',
// Specify the entry point for our app.
entry: [
path.join(__dirname, '..', 'lib', 'core.js'),
Expand All @@ -23,8 +22,11 @@ module.exports = {
* where a json file is being imported, it will use
* the json-loader.
*/
rules: [
{ test: /\.json&/, use: 'json-loader' }
loaders: [
{
test: /\.json$/,
loaders: ['json']
}
]
}
};
7 changes: 5 additions & 2 deletions dist-tools/webpack.config.rn-dep.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ module.exports = {
* where a json file is being imported, it will use
* the json-loader.
*/
rules: [
{ test: /\.json&/, use: 'json-loader' }
loaders: [
{
test: /\.json$/,
loaders: ['json']
}
]
}
};
9 changes: 6 additions & 3 deletions dist-tools/webpack.config.rn.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
library: 'AWS'
},
resolve: {
aliasFields: ['react-native']
packageAlias: 'react-native'
},
module: {
/**
Expand All @@ -24,8 +24,11 @@ module.exports = {
* where a json file is being imported, it will use
* the json-loader.
*/
rules: [
{ test: /\.json&/, use: 'json-loader' }
loaders: [
{
test: /\.json$/,
loaders: ['json']
}
]
}
};
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,23 @@
"codecov": "^1.0.1",
"coffee-script": "1.6.3",
"coffeeify": "*",
"coffeescript": "^2.3.2",
"cucumber": "^1.0.0",
"cucumber": "0.5.x",
"eslint": "^5.8.0",
"hash-test-vectors": "^1.3.2",
"insert-module-globals": "^7.0.0",
"istanbul": "*",
"jasmine": "^2.5.3",
"jasmine-core": "^2.5.2",
"json-loader": "^0.5.7",
"karma": "^4.0.1",
"json-loader": "^0.5.4",
"karma": "^2.0.0",
"karma-chrome-launcher": "2.2.0",
"karma-jasmine": "^1.1.0",
"mocha": "^3.0.0",
"repl.history": "*",
"semver": "*",
"typescript": "2.0.8",
"uglify-js": "2.x",
"webpack": "^4.0.0",
"webpack-cli": "^3.3.0"
"webpack": "^1.15.0"
},
"dependencies": {
"buffer": "4.9.1",
Expand Down Expand Up @@ -126,7 +124,7 @@
"unit": "mocha -- test test/json test/model test/protocol test/query test/services test/signers test/xml test/s3 test/cloudfront test/dynamodb test/polly test/rds test/publisher test/event-stream",
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha --reporter=lcovonly -- test test/json test/model test/protocol test/query test/services test/signers test/xml test/s3 test/cloudfront test/dynamodb test/polly test/rds test/publisher test/event-stream",
"browsertest": "rake browser:test && karma start",
"buildertest": "mocha --require coffee-script -s 1000 -t 10000 dist-tools/test/*.coffee",
"buildertest": "mocha --compilers coffee:coffee-script -s 1000 -t 10000 dist-tools/test",
"integration": "cucumber.js",
"lint": "eslint lib test dist-tools/*.js",
"console": "./scripts/console",
Expand Down

0 comments on commit 418a275

Please sign in to comment.