File tree 4 files changed +12
-2
lines changed
4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 2
2
node_modules
3
3
javascript.iml
4
4
* .js-e
5
+ * .json-e
5
6
upload /*
6
7
.idea
7
8
* .iml
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ VERSION=$(shell cat $(REPOS_DIR)/VERSION)
4
4
GOOGLE_MINIFY =/opt/minify/compiler.jar
5
5
CORE_DIR =$(REPOS_DIR ) /core
6
6
ECHO =/bin/echo
7
+ PACKAGE_JSON =$(REPOS_DIR ) /package.json
7
8
PUBNUB_JS =pubnub.js
8
9
PUBNUB_MIN_JS =pubnub.min.js
9
10
PUBNUB_VERSION_JS =pubnub-$(VERSION ) .js
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ build: $(PUBNUB_JS)
12
12
$(PUBNUB_JS ) : $(PUBNUB_COMMON_JS ) $(PUBNUB_NODE_JS )
13
13
$(ECHO ) " // Version: $( VERSION) " > $(PUBNUB_JS )
14
14
cat $(PUBNUB_COMMON_JS ) $(PUBNUB_PLATFORM_JS ) >> $(PUBNUB_JS )
15
+ sed -i -e " s/\" version\" \: \" .*\" /\" version\" \: \" $( VERSION) foo\" /g" $(PACKAGE_JSON )
15
16
sed -i -e " s/VERSION/\'$( VERSION) \'/g" $(PUBNUB_JS )
16
17
sed -i -e " s/PLATFORM/\'$( PLATFORM) \'/g" $(PUBNUB_JS )
17
18
Original file line number Diff line number Diff line change 14
14
"scripts" : {
15
15
"test" : " grunt test --force"
16
16
},
17
- "main" : " ./pubnub.js" ,
17
+ "main" : " ./node.js/ pubnub.js" ,
18
18
"repository" : {
19
19
"type" : " git" ,
20
20
"url" : " git://github.com/pubnub/javascript.git"
48
48
"license" : " MIT" ,
49
49
"engine" : {
50
50
"node" : " >=0.2"
51
- }
51
+ },
52
+ "files" : [
53
+ " node.js" ,
54
+ " CHANGELOG" ,
55
+ " FUTURE.md" ,
56
+ " LICENSE" ,
57
+ " README.md"
58
+ ]
52
59
}
You can’t perform that action at this time.
0 commit comments