File tree Expand file tree Collapse file tree 3 files changed +45
-2
lines changed Expand file tree Collapse file tree 3 files changed +45
-2
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "name" : " jira-automation-extension" ,
3+ "version" : " 1.0.0" ,
4+ "description" : " Browser extension to automate typical actions in JIRA" ,
5+ "private" : true ,
6+ "scripts" : {
7+ "build" : " webpack" ,
8+ "test" : " echo \" Error: no test specified\" && exit 1"
9+ },
10+ "repository" : {
11+ "type" : " git" ,
12+ "url" : " git+https://github.com/kungfux/jira-automation-extension.git"
13+ },
14+ "author" : " Alexander Fuks" ,
15+ "license" : " MIT" ,
16+ "bugs" : {
17+ "url" : " https://github.com/kungfux/jira-automation-extension/issues"
18+ },
19+ "homepage" : " https://github.com/kungfux/jira-automation-extension#readme" ,
20+ "devDependencies" : {
21+ "copy-webpack-plugin" : " ^11.0.0" ,
22+ "webpack" : " ^5.78.0" ,
23+ "webpack-cli" : " ^5.0.1"
24+ }
25+ }
Original file line number Diff line number Diff line change 1313 " *://*.atlassian.net/jira/*"
1414 ],
1515 "js" : [
16- " index .js"
16+ " bundle .js"
1717 ]
1818 }
1919 ],
2020 "host_permissions" : [
2121 " *://*.atlassian.net/jira/*"
2222 ]
23- }
23+ }
Original file line number Diff line number Diff line change 1+ const path = require ( 'path' ) ;
2+ const CopyPlugin = require ( "copy-webpack-plugin" ) ;
3+
4+ module . exports = {
5+ entry : './src/index.js' ,
6+ output : {
7+ filename : 'bundle.js' ,
8+ path : path . resolve ( __dirname , 'dist' ) ,
9+ } ,
10+ plugins : [
11+ new CopyPlugin ( {
12+ patterns : [
13+ './src/manifest.json' ,
14+ { from : './src/icons' , to : 'icons' }
15+ ] ,
16+ } ) ,
17+ ] ,
18+ } ;
You can’t perform that action at this time.
0 commit comments