1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-05-28 22:27:40 +02:00

Chore: Fixed package.json files and updated BUILD instructions

This commit is contained in:
Laurent Cozic 2019-09-17 21:29:37 +01:00
parent 2f14832c34
commit fe9a037cf9
6 changed files with 544 additions and 625 deletions

View File

@ -18,11 +18,10 @@
# Building the tools # Building the tools
Before building any of the applications, you need to build the tools: Before building any of the applications, you need to build the tools and pre-commit hooks:
``` ```
cd Tools npm install && cd Tools && npm install
npm install
``` ```
# Building the Electron application # Building the Electron application

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@
"pack": "node_modules/.bin/electron-builder --dir", "pack": "node_modules/.bin/electron-builder --dir",
"dist": "node_modules/.bin/electron-builder", "dist": "node_modules/.bin/electron-builder",
"publish": "build -p always", "publish": "build -p always",
"postinstall": "node compile.js && node compile-package-info.js && node ../../Tools/copycss.js --copy-fonts && node electronRebuild.js && cd .. && npm i", "postinstall": "node compile.js && node compile-package-info.js && node ../../Tools/copycss.js --copy-fonts && node electronRebuild.js",
"compile": "node compile.js && node compile-package-info.js && node ../../Tools/copycss.js --copy-fonts" "compile": "node compile.js && node compile-package-info.js && node ../../Tools/copycss.js --copy-fonts"
}, },
"repository": { "repository": {

View File

@ -1,11 +0,0 @@
{
"requires": true,
"lockfileVersion": 1,
"dependencies": {
"html-format": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/html-format/-/html-format-1.0.1.tgz",
"integrity": "sha512-ePp+h+akaQiLeCGPefWQ4QJXVXhWx4sU4ZxJVFlaY0AeVgh/tnHGTL27ao09JrdEEelXYMAWi4ynKKheck4tdw=="
}
}
}

View File

@ -6,7 +6,7 @@
"private": true, "private": true,
"scripts": { "scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start", "start": "node node_modules/react-native/local-cli/cli.js start",
"postinstall": "node ../Tools/copycss.js && node ../Tools/buildReactNativeInjectedJs.js && npx jetify && cd .. && npm i" "postinstall": "node ../Tools/copycss.js && node ../Tools/buildReactNativeInjectedJs.js && npx jetify"
}, },
"dependencies": { "dependencies": {
"@react-native-community/slider": "^1.1.3", "@react-native-community/slider": "^1.1.3",

View File

@ -3,9 +3,6 @@
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": {
"postinstall": "cd .. && npm i"
},
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {