Skip to content

Commit 4fa837c

Browse files
authored
Merge pull request #49 from LibreSign/bugfix/build-command
Fix build command
2 parents e5353e4 + f747e4e commit 4fa837c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ module.exports = {
1212
},
1313
rules: {
1414
'no-debugger': 'off',
15-
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'warn',
15+
'no-console': 'off',
1616
}
1717
}

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
CYPRESS_INSTALL_BINARY: 0
4343
run: |
4444
npm ci
45-
npm run build --if-present
45+
npm run build:lib
4646
4747
- name: Publish
4848
run: |

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "@libresign/vue-pdf-editor",
33
"description": "vue2 pdf editor component",
4-
"version": "1.1.2",
4+
"version": "1.1.3",
55
"author": "LibreCode",
66
"private": false,
7-
"main": "lib/vue-pdf-editor.umd.js",
7+
"main": "dist/vue-pdf-editor.umd.js",
88
"keywords": [
99
"pdf",
1010
"pdf editor",
@@ -13,9 +13,9 @@
1313
"scripts": {
1414
"start": "vue-cli-service serve --port 8081",
1515
"build": "vue-cli-service build",
16+
"build:lib": "vue-cli-service build --target lib --name vue-pdf-editor src/main.js",
1617
"lint": "vue-cli-service lint --no-fix",
17-
"lint:fix": "vue-cli-service lint",
18-
"build:lib": "vue-cli-service build --target lib --name vue-pdf-editor --dest lib src/index.js"
18+
"lint:fix": "vue-cli-service lint"
1919
},
2020
"dependencies": {
2121
"blob-stream-i2d": "^1.0.0",

0 commit comments

Comments
 (0)