Unverified Commit eb404698 authored by Robert Knight's avatar Robert Knight Committed by GitHub

Merge pull request #1936 from hypothesis/remove-browserify-shim

Remove browserify-shim
parents 4bfc9ae7 2d554342
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
"babel-plugin-transform-async-to-promises": "^0.8.6", "babel-plugin-transform-async-to-promises": "^0.8.6",
"babelify": "^10.0.0", "babelify": "^10.0.0",
"browserify": "^16.2.3", "browserify": "^16.2.3",
"browserify-shim": "^3.8.12",
"browserify-versionify": "^1.0.6", "browserify-versionify": "^1.0.6",
"chai": "^4.1.2", "chai": "^4.1.2",
"chance": "^1.0.13", "chance": "^1.0.13",
...@@ -108,7 +107,6 @@ ...@@ -108,7 +107,6 @@
}, },
"browserify": { "browserify": {
"transform": [ "transform": [
"browserify-shim",
"browserify-versionify", "browserify-versionify",
[ [
"stringify", "stringify",
...@@ -124,19 +122,9 @@ ...@@ -124,19 +122,9 @@
] ]
}, },
"browser": { "browser": {
"hammerjs": "./node_modules/hammerjs/hammer.js",
"fetch-mock": "./node_modules/fetch-mock/cjs/client.js", "fetch-mock": "./node_modules/fetch-mock/cjs/client.js",
"jquery": "./node_modules/jquery/dist/jquery.slim.js" "jquery": "./node_modules/jquery/dist/jquery.slim.js"
}, },
"browserify-shim": {
"angular": {
"depends": [
"jquery"
]
},
"hammerjs": "Hammer",
"jquery": "$"
},
"main": "./build/boot.js", "main": "./build/boot.js",
"scripts": { "scripts": {
"build": "cross-env NODE_ENV=production gulp build", "build": "cross-env NODE_ENV=production gulp build",
......
...@@ -242,7 +242,7 @@ describe('wrapReactComponent', () => { ...@@ -242,7 +242,7 @@ describe('wrapReactComponent', () => {
const element = createDirective(document, 'parent'); const element = createDirective(document, 'parent');
assert.isNull(element[0].querySelector('.click-indicator')); assert.isNull(element[0].querySelector('.click-indicator'));
const btn = element.find('button'); const btn = element.find('button')[0];
btn.click(); btn.click();
// Check that parent component DOM has been updated to reflect new state of // Check that parent component DOM has been updated to reflect new state of
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment