Skip to content
This repository was archived by the owner on Apr 3, 2019. It is now read-only.

Commit 84dc658

Browse files
Merge pull request #61 from PolymathNetwork/publish-fix
Fix script failing when installing as a dependency.
2 parents cdabce2 + bccb0bd commit 84dc658

File tree

12 files changed

+666
-150
lines changed

12 files changed

+666
-150
lines changed

.gitignore

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1-
# Built contracts
2-
build/
3-
lib/
1+
# NOTE: The only difference between .npmignore and .gitignore is that .npmignore
2+
# does not ignore `build/js` or `lib` so that they are published with the package.
3+
# Do not ignore the entire build folder in .npmignore!
4+
# Compiled contracts and JavaScript built for web
5+
build
6+
# JavaScript built for Node
7+
lib
8+
# Everything below is the same between .npmignore and .gitignore.
9+
#####
410

511
# Below this point are:
612
# https://github.com/github/gitignore/blob/master/Global/macOS.gitignore

.npmignore

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
# NOTE: The only difference between .npmignore and .gitignore is that .npmignore
2+
# does not ignore `build/js` or `lib` so that they are published with the package.
3+
# Do not ignore the entire build folder in .npmignore!
4+
build/contracts
5+
# Everything below is the same between .npmignore and .gitignore.
6+
#####
7+
8+
# Below this point are:
9+
# https://github.com/github/gitignore/blob/master/Global/macOS.gitignore
10+
# https://github.com/github/gitignore/blob/master/Node.gitignore
11+
12+
# General
13+
.DS_Store
14+
.AppleDouble
15+
.LSOverride
16+
17+
# Icon must end with two \r
18+
Icon
19+
20+
21+
# Thumbnails
22+
._*
23+
24+
# Files that might appear in the root of a volume
25+
.DocumentRevisions-V100
26+
.fseventsd
27+
.Spotlight-V100
28+
.TemporaryItems
29+
.Trashes
30+
.VolumeIcon.icns
31+
.com.apple.timemachine.donotpresent
32+
33+
# Directories potentially created on remote AFP share
34+
.AppleDB
35+
.AppleDesktop
36+
Network Trash Folder
37+
Temporary Items
38+
.apdisk
39+
40+
# Logs
41+
logs
42+
*.log
43+
npm-debug.log*
44+
yarn-debug.log*
45+
yarn-error.log*
46+
47+
# Runtime data
48+
pids
49+
*.pid
50+
*.seed
51+
*.pid.lock
52+
53+
# Directory for instrumented libs generated by jscoverage/JSCover
54+
lib-cov
55+
56+
# Coverage directory used by tools like istanbul
57+
coverage
58+
59+
# nyc test coverage
60+
.nyc_output
61+
62+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
63+
.grunt
64+
65+
# Bower dependency directory (https://bower.io/)
66+
bower_components
67+
68+
# node-waf configuration
69+
.lock-wscript
70+
71+
# Compiled binary addons (https://nodejs.org/api/addons.html)
72+
build/Release
73+
74+
# Dependency directories
75+
node_modules/
76+
jspm_packages/
77+
78+
# Typescript v1 declaration files
79+
typings/
80+
81+
# Optional npm cache directory
82+
.npm
83+
84+
# Optional eslint cache
85+
.eslintcache
86+
87+
# Optional REPL history
88+
.node_repl_history
89+
90+
# Output of 'npm pack'
91+
*.tgz
92+
93+
# Yarn Integrity file
94+
.yarn-integrity
95+
96+
# dotenv environment variables file
97+
.env
98+
99+
# ENV
100+
.idea/

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ cache:
1313
- "node_modules"
1414

1515
before_script:
16+
- yarn build
1617
- yarn testrpc &
1718
- sleep 1
1819

0 commit comments

Comments
 (0)