This repository was archived by the owner on Sep 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +27
-3
lines changed Expand file tree Collapse file tree 2 files changed +27
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : NPM Publish
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ jobs :
7
+ npm-publish :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v2
11
+ - uses : actions/setup-node@v2
12
+ with :
13
+ node-version : " 16.x"
14
+ registry-url : " https://registry.npmjs.org"
15
+
16
+ - name : 📦 Install dependencies
17
+ run : npm ci
18
+
19
+ - name : 🚀 Publish package to NPM
20
+ run : npm publish --access public
21
+ env :
22
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " custom-electron-titlebar" ,
3
- "version" : " 4.0.1 " ,
3
+ "version" : " 4.1.0 " ,
4
4
"description" : " Custom Electron Titlebar is a library for electron that allows you to configure a fully customizable title bar." ,
5
5
"exports" : {
6
6
"." : " ./dist/index.js" ,
9
9
"types" : " dist/index.d.ts" ,
10
10
"type" : " commonjs" ,
11
11
"scripts" : {
12
+ "build:develop" : " webpack --mode=development" ,
12
13
"build" : " webpack --mode=production" ,
13
14
"example" : " electron example/main.js" ,
14
- "start" : " npm run build && npm run example"
15
+ "start" : " npm run build:develop && npm run example" ,
16
+ "prepare" : " npm run build"
15
17
},
16
18
"author" : " AlexTorresSk <alextorressk@gmail.com>" ,
17
19
"license" : " MIT" ,
53
55
"webpack" : " ^5.67.0" ,
54
56
"webpack-cli" : " ^4.9.1"
55
57
}
56
- }
58
+ }
You can’t perform that action at this time.
0 commit comments