File tree 3 files changed +28
-6
lines changed
3 files changed +28
-6
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish to NPM
2
+ on :
3
+ release :
4
+ types : [created]
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ # Setup .npmrc file to publish to npm
11
+ - uses : actions/setup-node@v2
12
+ with :
13
+ node-version : ' 14.x'
14
+ registry-url : ' https://registry.npmjs.org'
15
+ - run : npm install
16
+ - run : npm publish
17
+ env :
18
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -29,11 +29,11 @@ For a full list of external dependencies please consult `package.json`.
29
29
30
30
### NPM
31
31
32
- ` npm install nightfall-node-sdk `
32
+ ` npm install nightfall-js `
33
33
34
34
### Yarn
35
35
36
- ` yarn add nightfall-node-sdk `
36
+ ` yarn add nightfall-js `
37
37
38
38
### Building Locally
39
39
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " nightfall" ,
2
+ "name" : " nightfall-js " ,
3
3
"version" : " 1.0.0" ,
4
- "description" : " " ,
4
+ "description" : " Build data classification and protection into your application or service with Nightfall. " ,
5
5
"main" : " dist/index.js" ,
6
6
"types" : " dist/index.d.ts" ,
7
7
"files" : [
12
12
"prepare" : " npm run build" ,
13
13
"test" : " jest --coverage"
14
14
},
15
- "keywords" : [],
15
+ "keywords" : [
16
+ " data classification" ,
17
+ " security"
18
+ ],
19
+ "repository" : " github:nightfallai/nightfall-nodejs-sdk" ,
16
20
"author" :
" Nagarjun Palavalli <[email protected] >" ,
17
- "license" : " ISC " ,
21
+ "license" : " MIT " ,
18
22
"dependencies" : {
19
23
"axios" : " ^0.21.4"
20
24
},
You can’t perform that action at this time.
0 commit comments