Skip to content

Commit

Permalink
move to src folder
Browse files Browse the repository at this point in the history
  • Loading branch information
samthor committed May 26, 2019
1 parent c1a96f2 commit 157e594
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "2.0.8",
"description": "library to bring Web App Manifest contents to non-compliant browsers",
"main": "pwacompat.min.js",
"module": "pwacompat.js",
"jsnext:main": "pwacompat.js",
"module": "src/pwacompat.js",
"jsnext:main": "src/pwacompat.js",
"repository": {
"type": "git",
"url": "git+https://github.com/GoogleChrome/pwacompat.git"
Expand All @@ -23,7 +23,7 @@
},
"homepage": "https://github.com/GoogleChrome/pwacompat",
"scripts": {
"test": "mocha-headless-server suite.html"
"test": "mocha-headless-server src/suite.html"
},
"devDependencies": {
"chai": "^4.1.2",
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions suite.html → src/suite.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
-->
<!DOCTYPE html>
<meta charset="UTF-8" />
<link rel="stylesheet" href="node_modules/mocha/mocha.css" />
<script src="node_modules/mocha/mocha.js"></script>
<script src="node_modules/chai/chai.js"></script>
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../node_modules/chai/chai.js"></script>
<script>
var assert = chai.assert;
mocha.setup({ ui: 'tdd' });
Expand Down
2 changes: 1 addition & 1 deletion suite.js → src/suite.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function testManifest(manifest, head='') {
${head}
</head>
<body>
<script src="${window.location.origin}/pwacompat.js"></script>
<script src="${window.location.origin}/src/pwacompat.js"></script>
<script>
const ready = new Promise((resolve) => {
window.addEventListener('load', () => {
Expand Down

0 comments on commit 157e594

Please sign in to comment.