-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #130 from heathj/new-build
Introducing webpack for bundling and building
- Loading branch information
Showing
121 changed files
with
10,005 additions
and
7,944 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,5 +1,3 @@ | ||
.idea | ||
flymake* | ||
node_modules/* | ||
build/* | ||
web-ext-artifacts/* | ||
node_modules | ||
build | ||
web-ext-artifacts |
Large diffs are not rendered by default.
Oops, something went wrong.
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,51 +1,68 @@ | ||
{ | ||
"name": "tracy", | ||
"version": "0.1.0", | ||
"private": true, | ||
"name": "Tracy", | ||
"license": "MIT License", | ||
"repository": "github:heathj/tracy", | ||
"description": "A tool designed to assist with finding all sinks and sources of a web application and display these results in a digestible manner.", | ||
"version": "0.9.0", | ||
"scripts": { | ||
"start": "npx webpack --config webpack.config.js --mode development", | ||
"build": "npx webpack --config webpack.config.js --mode production", | ||
"compile-ext": "npx web-ext build --overwrite-dest -s ./build/", | ||
"deploy-chrome": "npx chrome-webstore-upload-cli upload --source web-ext-artifacts/*.zip --extension-id lcgbimfijafcjjijgjoodgpblgmkckhn", | ||
"deploy-firefox": "npx web-ext-submit --api-key \"$API_KEY\" --api-secret \"$API_SECRET\" -s build --id {9a38284d-6fc8-460a-b3b8-2378cfd30fe4} --api-url-prefix https://addons.mozilla.org/api/v4", | ||
"deploy": "npm i;npm run build;npm run compile-ext;npm run deploy-chrome;npm run deploy-firefox" | ||
}, | ||
"dependencies": { | ||
"@fortawesome/fontawesome": "^1.1.4", | ||
"@fortawesome/fontawesome-free-brands": "^5.0.8", | ||
"@fortawesome/fontawesome-free-solid": "^5.0.8", | ||
"@fortawesome/react-fontawesome": "0.0.18", | ||
"react": "^16.12.0", | ||
"react-code-prettify": "0.0.1", | ||
"react-dom": "^16.12.0", | ||
"prettier": "^2.0.5", | ||
"react": "^16.13.1", | ||
"react-dom": "^16.13.1", | ||
"react-redux": "^6.0.1", | ||
"react-scripts": "^2.1.3", | ||
"react-syntax-highlight": "^15.3.1", | ||
"react-syntax-highlighter": "^12.2.1", | ||
"react-table": "^6.11.5", | ||
"redux": "^4.0.5" | ||
}, | ||
"scripts": { | ||
"start": "npx web-ext run -s build --no-input true & echo \"$(find public) $(find src)\" | entr sh -c \"npm run build\" ", | ||
"watch-ext": "npx web-ext run -s public --no-input true", | ||
"build": "react-scripts build", | ||
"compile-ext": "npx web-ext build --overwrite-dest -s ./build/", | ||
"deploy-chrome": "npx chrome-webstore-upload-cli upload --source web-ext-artifacts/*.zip --extension-id lcgbimfijafcjjijgjoodgpblgmkckhn", | ||
"deploy-firefox": "npx web-ext-submit --api-key \"$API_KEY\" --api-secret \"$API_SECRET\" -s build --id {9a38284d-6fc8-460a-b3b8-2378cfd30fe4} --api-url-prefix https://addons.mozilla.org/api/v4", | ||
"deploy": "npm install;npm run build;npm run compile-ext;npm run deploy-chrome;npm run deploy-firefox" | ||
}, | ||
"devDependencies": { | ||
"babel-core": "^6.26.0", | ||
"@babel/core": "7.7.4", | ||
"@babel/plugin-proposal-class-properties": "^7.8.3", | ||
"@babel/preset-react": "7.7.4", | ||
"babel-eslint": "^10.1.0", | ||
"babel-loader": "8.0.6", | ||
"chrome-webstore-upload-cli": "^1.2.0", | ||
"web-ext": "^3.2.1", | ||
"web-ext-submit": "^3.2.1" | ||
}, | ||
"jshintConfig": { | ||
"esversion": 8 | ||
"copy-webpack-plugin": "5.0.5", | ||
"css-loader": "3.2.0", | ||
"eslint": "^6.8.0", | ||
"file-loader": "4.3.0", | ||
"html-loader": "0.5.5", | ||
"html-webpack-plugin": "3.2.0", | ||
"style-loader": "1.0.0", | ||
"web-ext-submit": "^4.1.0", | ||
"webpack": "4.41.2", | ||
"webpack-bundle-analyzer": "^3.7.0", | ||
"webpack-cli": "3.3.10" | ||
}, | ||
"eslintConfig": { | ||
"env": { | ||
"browser": true, | ||
"webextensions": true, | ||
"node": true, | ||
"es8": true | ||
"node": true | ||
}, | ||
"parser": "babel-eslint", | ||
"parserOptions": { | ||
"ecmaVersion": 9, | ||
"sourceType": "module" | ||
} | ||
}, | ||
"browserslist": [ | ||
">0.2%", | ||
"not dead", | ||
"not ie <= 11", | ||
"not op_mini all" | ||
] | ||
"babel": { | ||
"presets": [ | ||
"@babel/react" | ||
], | ||
"plugins": [ | ||
"@babel/plugin-proposal-class-properties" | ||
] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.