Skip to content

Commit 8a5273e

Browse files
author
Davi Nomoeh Dani
committed
run yarn build while preparing to publish
1 parent 81299c0 commit 8a5273e

File tree

4 files changed

+16
-9
lines changed

4 files changed

+16
-9
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ dump
1717
_.*
1818
*.pem
1919
.bak
20+
*.tgz
2021

2122
# yarn caches
2223
.yarn/*

.npmignore

Whitespace-only changes.

package.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "songlyrics",
3-
"version": "2.3.1",
3+
"version": "2.3.2",
44
"description": "Find a lyrics just enter the song title",
55
"keywords": [
66
"lyrics",
@@ -13,11 +13,17 @@
1313
"build": "rimraf ./build && tsc",
1414
"pretty": "prettier --write .",
1515
"lint": "eslint . --ext .ts",
16-
"prepare": "husky install"
16+
"prepare": "husky install && yarn build"
17+
},
18+
"main": "./build/index.js",
19+
"types": "./build/index.d.ts",
20+
"files": [
21+
"/build"
22+
],
23+
"repository": {
24+
"type": "git",
25+
"url": "https://github.com/vookav2/songlyrics"
1726
},
18-
"main": "build/index.js",
19-
"typings": "build/index.d.ts",
20-
"repository": "git@github.com:vookav2/songlyrics.git",
2127
"author": "mr687 <davinomoehdanino@gmail.com>",
2228
"license": "MIT",
2329
"dependencies": {

tsconfig.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
"compilerOptions": {
33
"target": "ES6",
44
"module": "CommonJS",
5+
"lib": ["es6", "dom"],
56
"moduleResolution": "Node",
67
"declaration": true,
78
"outDir": "./build",
9+
"declarationDir": "./build",
810
"esModuleInterop": true,
911
"strict": true,
10-
"alwaysStrict": true,
11-
"skipLibCheck": true,
12-
"noImplicitAny": true
12+
"skipLibCheck": true
1313
},
1414
"include": ["src"],
15-
"exclude": ["node_modules"]
15+
"exclude": ["node_modules", "build"]
1616
}

0 commit comments

Comments
 (0)