mirror of
https://github.com/jzillmann/pdf-to-markdown.git
synced 2025-01-16 10:38:41 +01:00
Publish utilities
This commit is contained in:
parent
a3695a4a56
commit
0aa56386c7
@ -18,6 +18,11 @@ Use the [issue tracker](https://github.com/jzillmann/pdf-to-markdown/issues) and
|
|||||||
- `npm run format` Run the prettier formatter
|
- `npm run format` Run the prettier formatter
|
||||||
- `npm run build` Compile the typescript files to the `lib` folder
|
- `npm run build` Compile the typescript files to the `lib` folder
|
||||||
|
|
||||||
|
### Test Release locally and use in other projects
|
||||||
|
|
||||||
|
- `npm link` in the core project
|
||||||
|
- `npm link pdf-to-markdown-core` in the target project
|
||||||
|
|
||||||
## Release
|
## Release
|
||||||
|
|
||||||
//TBD
|
//TBD
|
||||||
|
2
core/package-lock.json
generated
2
core/package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pdf-to-markdown-core",
|
"name": "pdf-to-markdown-core",
|
||||||
"version": "1.0.0",
|
"version": "0.5.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -13,7 +13,8 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/jzillmann/pdf-to-markdown"
|
"url": "https://github.com/jzillmann/pdf-to-markdown"
|
||||||
},
|
},
|
||||||
"main": "index.js",
|
"main": "lib/src/index.js",
|
||||||
|
"types": "lib/src/index.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"lib/src/**/*"
|
"lib/src/**/*"
|
||||||
],
|
],
|
||||||
@ -21,7 +22,12 @@
|
|||||||
"test": "jest",
|
"test": "jest",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"format": "prettier --write \"src/**/*.ts\"",
|
"format": "prettier --write \"src/**/*.ts\"",
|
||||||
"lint": "tslint -p tsconfig.json"
|
"lint": "tslint -p tsconfig.json",
|
||||||
|
"prepare": "npm run build",
|
||||||
|
"prepublishOnly": "npm test && npm run lint",
|
||||||
|
"preversion": "npm run lint",
|
||||||
|
"version": "npm run format && git add -A src",
|
||||||
|
"postversion": "git push && git push --tags"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^26.0.19",
|
"@types/jest": "^26.0.19",
|
||||||
|
4
ui/.gitignore
vendored
Normal file
4
ui/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
.build
|
||||||
|
build
|
||||||
|
web_modules
|
||||||
|
node_modules
|
2
ui/.prettierignore
Normal file
2
ui/.prettierignore
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
package-lock.json
|
||||||
|
public/build/
|
8
ui/.prettierrc
Normal file
8
ui/.prettierrc
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"svelteSortOrder": "scripts-markup-styles",
|
||||||
|
"printWidth": 120,
|
||||||
|
"tabWidth": 4,
|
||||||
|
"semi": true,
|
||||||
|
"singleQuote": true,
|
||||||
|
"endOfLine": "lf"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user