Skip to content

Commit

Permalink
Switch from bower to npm.
Browse files Browse the repository at this point in the history
  • Loading branch information
wkeese committed Dec 9, 2019
1 parent cee494a commit 7f1a22f
Show file tree
Hide file tree
Showing 11 changed files with 2,495 additions and 28 deletions.
9 changes: 9 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.bowerrc
.gitattributes
.jshintrc
bower.json
Gruntfile.js
tests
.idea
intern*
.travis.yml
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dpointer",
"version": "0.5.2",
"version": "0.5.3",
"dependencies": {
"requirejs-dplugins": "0.6.x"
},
Expand Down
2 changes: 1 addition & 1 deletion intern-requirejs-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ intern.registerLoader(function (options) {
}

if (typeof window !== "undefined") {
return intern.loadScript("decor/node_modules/requirejs/require.js").then(function () {
return intern.loadScript("node_modules/requirejs/require.js").then(function () {
return initLoader(requirejs);
});
} else {
Expand Down
28 changes: 12 additions & 16 deletions intern.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,16 @@

"leaveRemoteOpen": false,

"basePath": "../",

"node": {
"loader": {
"script": "./intern-requirejs-loader.js",
"options": {
"baseUrl": "."
}
}
},

"browser": {
"loader": {
"script": "dpointer/intern-requirejs-loader.js",
"script": "./intern-requirejs-loader.js",
"options": {
"baseUrl": "../../..",
"baseUrl": "../../node_modules",
"packages": [
{ "name": "intern", "location": "dpointer/node_modules/intern" }
{
"name": "dpointer",
"location": ".."
}
]
}
}
Expand All @@ -52,7 +44,12 @@
],

"tunnelOptions": {
"drivers": [ "firefox", "internet explorer", "MicrosoftEdge" ]
"drivers": [
"firefox",
"internet explorer",
"MicrosoftEdge",
{"name": "chrome", "version": "78.0.3904.70" }
]
},

"WAIT_TIMEOUT": 30000,
Expand Down Expand Up @@ -231,6 +228,5 @@
],
"coverage": null
}

}
}
Loading

0 comments on commit 7f1a22f

Please sign in to comment.