mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-22 10:08:55 +00:00
Workaround for windows mkdir -p
, fixes #57
- Add a placeholder to keep the `app/lib` directory - Remove `mkdir -p` postinstall script
This commit is contained in:
parent
4089cd36cb
commit
bd6fedc0ef
7
.gitignore
vendored
7
.gitignore
vendored
@ -4,7 +4,12 @@
|
||||
# Node.js
|
||||
|
||||
# ignore compiled lib files
|
||||
lib
|
||||
lib/*
|
||||
app/lib/*
|
||||
|
||||
# commit a placeholder to keep the app/lib directory
|
||||
!app/lib/.placeholder
|
||||
|
||||
dist
|
||||
|
||||
# Logs
|
||||
|
1
app/lib/.placeholder
Normal file
1
app/lib/.placeholder
Normal file
@ -0,0 +1 @@
|
||||
Placeholder file here to commit the lib folder, as we cannot mkdir -p on Windows
|
@ -12,7 +12,6 @@
|
||||
"main": "lib/buildApp.js",
|
||||
"scripts": {
|
||||
"dev-up": "npm install && (cd app && npm install)",
|
||||
"postinstall": "mkdir -p app/lib",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"build-app": "browserify app/src/main.js --node --ignore-missing --detect-globals false --debug -o app/lib/main.js && cp app/src/preload.js app/lib/preload.js",
|
||||
"build-module": "babel src -d lib",
|
||||
|
Loading…
Reference in New Issue
Block a user