Skip to content

Commit c2e0fe0

Browse files
authored
Merge pull request #5 from code-yeongyu/package-deploy
배포 설정을 변경합니다.
2 parents 3532ed4 + 45ff161 commit c2e0fe0

File tree

4 files changed

+672
-448
lines changed

4 files changed

+672
-448
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
node-version: '16.x'
1313
registry-url: 'https://registry.npmjs.org'
1414
- run: yarn
15+
- run: yarn build
1516
- run: yarn publish
1617
env:
1718
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
22
"name": "trackpurchase",
3-
"version": "0.1.7",
4-
"main": "src/index.ts",
3+
"version": "0.1.14",
4+
"main": "dist/index.js",
55
"license": "MIT",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/code-yeongyu/TrackPurchase.git"
99
},
10-
"type": "module",
1110
"keywords": [
1211
"crawler",
1312
"web scraper",
@@ -16,7 +15,7 @@
1615
],
1716
"description": "단 몇줄의 코드로 다양한 쇼핑 플랫폼에서 결제 내역을 긁어오자!",
1817
"files": [
19-
"src"
18+
"dist"
2019
],
2120
"jest": {
2221
"preset": "jest-puppeteer",
@@ -42,6 +41,7 @@
4241
"@types/expect-puppeteer": "^4.4.7",
4342
"@types/jest": "^27.0.3",
4443
"@types/jest-environment-puppeteer": "^4.4.1",
44+
"babel": "^6.23.0",
4545
"babel-jest": "^27.4.5",
4646
"jest": "^27.4.5",
4747
"jest-puppeteer": "^6.0.3",

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"esModuleInterop": true,
1010
"skipLibCheck": true,
1111
"forceConsistentCasingInFileNames": true,
12+
"declaration": true,
1213
"sourceMap": true,
1314
"types": ["puppeteer", "expect-puppeteer", "jest-environment-puppeteer"]
1415
},

0 commit comments

Comments
 (0)