Skip to content

Commit 04bc928

Browse files
committed
chore(*): check in package-lock.json
1 parent b2cef7b commit 04bc928

File tree

2 files changed

+4733
-13
lines changed

2 files changed

+4733
-13
lines changed

README.md

+16-13
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ The `depth=1` tells git to only pull down one commit worth of historical data.
3939

4040
### Install Dependencies
4141

42-
We have two kinds of dependencies in this project: tools and AngularJS framework code. The tools help
43-
us manage and test the application.
42+
We have two kinds of dependencies in this project: tools and AngularJS framework code. The tools
43+
help us manage and test the application.
4444

4545
* We get the tools we depend upon and the AngularJS code via `npm`, the [Node package manager][npm].
4646
* In order to run the end-to-end tests, you will also need to have the
@@ -54,14 +54,15 @@ can simply do:
5454
npm install
5555
```
5656

57-
Behind the scenes this will also call `npm run copy-libs`, which copies the AngularJS files and other
58-
front end dependencies. After that, you should find out that you have two new directories in your project.
57+
Behind the scenes this will also call `npm run copy-libs`, which copies the AngularJS files and
58+
other front end dependencies. After that, you should find out that you have two new directories in
59+
your project.
5960

6061
* `node_modules` - contains the npm packages for the tools we need
6162
* `app/lib` - contains the AngularJS framework files and other front end dependencies
6263

63-
*Note copying the AngularJS files from `node_modules` to `app/lib` makes it easier to serve the files
64-
by a web server.*
64+
*Note copying the AngularJS files from `node_modules` to `app/lib` makes it easier to serve the
65+
files by a web server.*
6566

6667
### Run the Application
6768

@@ -99,10 +100,12 @@ app/ --> all of the source files for the application
99100
app.js --> main application module
100101
index.html --> app layout file (the main html template file of the app)
101102
index-async.html --> just like index.html, but loads js files asynchronously
102-
karma.conf.js --> config file for running unit tests with Karma
103103
e2e-tests/ --> end-to-end tests
104104
protractor-conf.js --> Protractor config file
105105
scenarios.js --> end-to-end scenarios to be run by Protractor
106+
karma.conf.js --> config file for running unit tests with Karma
107+
package.json --> Node.js specific metadata, including development tools dependencies
108+
package-lock.json --> Npm specific metadata, including versions of installed development tools dependencies
106109
```
107110

108111

@@ -248,13 +251,13 @@ This really depends on how complex your app is and the overall infrastructure of
248251
the general rule is that all you need in production are the files under the `app/` directory.
249252
Everything else should be omitted.
250253

251-
AngularJS apps are really just a bunch of static HTML, CSS and JavaScript files that need to be hosted
252-
somewhere they can be accessed by browsers.
254+
AngularJS apps are really just a bunch of static HTML, CSS and JavaScript files that need to be
255+
hosted somewhere they can be accessed by browsers.
253256

254-
If your AngularJS app is talking to the backend server via XHR or other means, you need to figure out
255-
what is the best way to host the static files to comply with the same origin policy if applicable.
256-
Usually this is done by hosting the files by the backend server or through reverse-proxying the
257-
backend server(s) and web server(s).
257+
If your AngularJS app is talking to the backend server via XHR or other means, you need to figure
258+
out what is the best way to host the static files to comply with the same origin policy if
259+
applicable. Usually this is done by hosting the files by the backend server or through
260+
reverse-proxying the backend server(s) and web server(s).
258261

259262

260263
## Continuous Integration

0 commit comments

Comments
 (0)