Skip to content

Commit affcc39

Browse files
committed
first commit
1 parent 0b5ed49 commit affcc39

File tree

7 files changed

+51
-0
lines changed

7 files changed

+51
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
wp-api-angularjs
22
================
3+
4+
5+
```
6+
sudo npm install webpack -g
7+
```

gulpfile.js

Whitespace-only changes.

lib/index.js

Whitespace-only changes.

package.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "wp-api-angularjs",
3+
"version": "0.0.1",
4+
"description": "WordPress WP-API client for AngularJs",
5+
"main": "index.js",
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/shprink/wp-api-angularjs"
9+
},
10+
"keywords": [
11+
"wp-api",
12+
"angular",
13+
"angularjs",
14+
"rest",
15+
"restfull",
16+
"client"
17+
],
18+
"author": "shprink",
19+
"license": "MIT",
20+
"bugs": {
21+
"url": "https://github.com/shprink/wp-api-angularjs/issues"
22+
},
23+
"homepage": "https://github.com/shprink/wp-api-angularjs",
24+
"devDependencies": {
25+
"angular": "^1.3.6",
26+
"angularjs": "0.0.1",
27+
"restangular": "^1.4.0"
28+
}
29+
}

test/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
require('angular');
2+
require('restangular');
3+
require('../lib/index.js'); // import the lib

version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v0.0.1

webpack.config.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module.exports = {
2+
entry: "./test/index.js",
3+
output: {
4+
path: __dirname,
5+
filename: "bundle.js"
6+
},
7+
module: {
8+
loaders: [{
9+
test: /\.css$/,
10+
loader: "style!css"
11+
}]
12+
}
13+
};

0 commit comments

Comments
 (0)