-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Misc refactorings: No SCSS compile step, better build, cypress stuff (#…
…123) * Remove sass compiling of SCSS, now write plain CSS * Automatically updating version in manifest files * Adding meta / titles to make HTML validation more happy * CSS reset also options and tips --------- Co-authored-by: Simon Heimler <[email protected]>
- Loading branch information
Showing
17 changed files
with
710 additions
and
930 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
# Distribution | ||
dist/ | ||
popup/lib/ | ||
popup/css/ | ||
popup/mockData/big.json | ||
|
||
# Logs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import fs from 'fs' | ||
|
||
const packageJson = JSON.parse(fs.readFileSync('package.json').toString()) | ||
const manifestJson = JSON.parse(fs.readFileSync('manifest.json').toString()) | ||
const manifestFirefoxJson = JSON.parse(fs.readFileSync('manifest.firefox.json').toString()) | ||
|
||
console.log('Updating Manifests with version v' + packageJson.version) | ||
|
||
manifestJson.version = packageJson.version | ||
manifestFirefoxJson.version = packageJson.version | ||
|
||
fs.writeFileSync('manifest.json', JSON.stringify(manifestJson, null, 2)) | ||
fs.writeFileSync('manifest.firefox.json', JSON.stringify(manifestFirefoxJson, null, 2)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.