mirror of
https://github.com/fazo96/pbs.git
synced 2025-01-27 14:34:19 +01:00
set up the build system
This commit is contained in:
parent
8efd9c2cfa
commit
063fa2121a
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
node_modules/
|
||||
bin/
|
||||
|
2
.npmignore
Normal file
2
.npmignore
Normal file
@ -0,0 +1,2 @@
|
||||
src/
|
||||
build.sh
|
4
build.sh
Executable file
4
build.sh
Executable file
@ -0,0 +1,4 @@
|
||||
mkdir -p bin
|
||||
echo '#!/usr/bin/env node' > bin/pert
|
||||
coffee -b -c --no-header -p src/pert.coffee >> bin/pert
|
||||
chmod +x bin/pert
|
12
package.json
12
package.json
@ -3,8 +3,12 @@
|
||||
"version": "0.0.1",
|
||||
"description": "pert diagram calculator",
|
||||
"main": "pert.coffee",
|
||||
"bin": {
|
||||
"pert": "./bin/pert"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"prepublish": "./build.sh",
|
||||
"build": "./build.sh"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -17,6 +21,10 @@
|
||||
},
|
||||
"homepage": "https://github.com/fazo96/pert",
|
||||
"dependencies": {
|
||||
"chalk": "^1.0.0"
|
||||
"chalk": "^1.0.0",
|
||||
"commander": "^2.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"coffee-script": "^1.9.1"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user