Skip to content

Commit

Permalink
Adds lint and build scripts
Browse files Browse the repository at this point in the history
The extension code is moved to src/ to simplify packaging only the necessary files
  • Loading branch information
rik committed Apr 16, 2017
1 parent 544af35 commit 780cb49
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
*log
web-ext-artifacts
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
"name": "au-revoir-utm",
"license": "WTFPL http://sam.zoy.org/wtfpl/",
"author": "Anthony Ricaud <[email protected]>",
"version": "0.4",
"version": "1.0.0",
"fullName": "au-revoir-utm",
"id": "jid1-yRtlFKrTMBrAtQ",
"description": "Removes crappy utm_ tracking stuff",
"dependencies": {},
"scripts": {
"start": "web-ext run --firefox=nightly --browser-console"
"build": "web-ext build --source-dir src",
"lint": "web-ext lint --source-dir src",
"start": "web-ext run --source-dir src --firefox=nightly --browser-console"
},
"devDependencies": {
"chai": "^3.5.0",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion manifest.json → src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "au-revoir-utm",
"version": "0.4",
"version": "1.0.0",
"description": "Removes crappy utm_ tracking stuff",
"homepage_url": "http://github.com/rik/au-revoir-utm",
"permissions": [
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion testrunner.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<script>mocha.setup('bdd')</script>

<!-- Tests -->
<script src="utm.js"></script><script src="test/utm.js"></script>
<script src="src/utm.js"></script><script src="test/utm.js"></script>

<!-- Run ! -->
<script>
Expand Down

0 comments on commit 780cb49

Please sign in to comment.