Skip to content

Commit 2a291ff

Browse files
committed
Revert "Tools: Build files if module is installed from github"
This reverts commit 27ff163.
1 parent c5f8342 commit 2a291ff

File tree

4 files changed

+4
-29
lines changed

4 files changed

+4
-29
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
"mocha": "1.20.x",
1616
"unit-coverage": "3.4.x"
1717
},
18+
"files": [
19+
"lib"
20+
],
1821
"main": "lib/core.js",
1922
"maintainers": [
2023
{

scripts/postinstall.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
#!/bin/bash
2-
3-
if [[ ! -d 'lib' ]]; then
4-
npm i babel@5 --save
5-
./scripts/build.sh
6-
fi
1+
cd ./node_modules/gonzales-pe && npm i && npm run build && cd -

scripts/postpublish.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

scripts/prepublish.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)