fix(js-cli) npmignore wrong on windows

This commit is contained in:
Lucas Fernandes Gonçalves Nogueira 2019-12-05 08:17:50 -03:00
parent 621b86ece4
commit 0b30d8d618
4 changed files with 3 additions and 39 deletions

View File

@ -1,11 +1,6 @@
test
docs
docs-generator
node_modules
.git
.github
.idea
SECURITY.md
src-tauri
/tauri.conf.js

View File

@ -1,6 +1,6 @@
{
"name": "tauri",
"version": "0.1.7",
"version": "0.1.8",
"description": "Multi-binding collection of libraries and templates for building Tauri apps",
"bin": {
"tauri": "./bin/tauri.js"

View File

@ -1,33 +0,0 @@
const path = require('path')
const distDir = path.resolve(__dirname, './dist')
module.exports = function () {
return {
automaticStart: {
active: true
},
build: {
distDir: distDir,
devPath: 'http://localhost:4000' // devServer URL or path to html file
},
ctx: {},
tauri: {
embeddedServer: {
active: true
},
bundle: {
active: true
},
whitelist: {
all: false
},
window: {
title: 'Tauri App'
},
security: {
csp: 'default-src data: filesystem: ws: http: https: \'unsafe-eval\' \'unsafe-inline\''
}
},
edge: true
}
}

View File

@ -47,6 +47,8 @@ Run \`tauri init --force template\` to overwrite.`)
} catch (e) {
if (logging) console.log(e)
return false
} finally {
if (logging) log('Successfully wrote src-tauri')
}
}