|
1 | 1 | { |
2 | | - "version": "0.2.0", |
| 2 | + "version": "0.3.0", |
3 | 3 | "summary": { |
4 | 4 | "title": "Learn NPM package json", |
5 | 5 | "description": "The Node Package Manager (NPM) is a command-line tool used by developers to share and control modules (or packages) of JavaScript code written for use with Node.js." |
6 | 6 | }, |
7 | 7 | "config": { |
8 | 8 | "testRunner": { |
9 | | - "command": "npm run programmatic-test" |
| 9 | + "command": "npm run programmatic-test", |
| 10 | + "path": "coderoad", |
| 11 | + "actions": { |
| 12 | + "commits": ["55a9b6d", "34f028e"], |
| 13 | + "commands": ["npm install"] |
| 14 | + } |
10 | 15 | }, |
11 | 16 | "repo": { |
12 | 17 | "uri": "https://github.com/coderoad/fcc-learn-npm", |
13 | | - "branch": "v0.2.0" |
| 18 | + "branch": "v0.3.0" |
14 | 19 | }, |
15 | 20 | "dependencies": [{ |
16 | 21 | "name": "node", |
|
37 | 42 | "id": "bCzlTigHAL", |
38 | 43 | "setup": { |
39 | 44 | "files": ["package.json"], |
40 | | - "commits": ["6b7cf6f", "8df92a5"], |
| 45 | + "commits": ["c3b4350"], |
41 | 46 | "commands": ["npm install"] |
42 | 47 | }, |
43 | 48 | "solution": { |
44 | 49 | "files": ["package.json"], |
45 | | - "commits": ["49577c7"] |
| 50 | + "commits": ["02cd4f2"] |
46 | 51 | }, |
47 | 52 | "content": "Add your name as the `author` of the project in the package.json file.\n**Note:** Remember that you’re writing JSON, so all field names must use double-quotes (\") and be separated with a comma (,).\n\n" |
48 | 53 | } |
|
59 | 64 | "id": "qtyop7mIYu", |
60 | 65 | "setup": { |
61 | 66 | "files": ["package.json"], |
62 | | - "commits": ["c9718b2"] |
| 67 | + "commits": ["1917199"] |
63 | 68 | }, |
64 | 69 | "solution": { |
65 | 70 | "files": ["package.json"], |
66 | | - "commits": ["a15aa99"] |
| 71 | + "commits": ["e8b3d85"] |
67 | 72 | }, |
68 | 73 | "content": "Add a `description` to the package.json file of your project.\n\n**Note:** Remember to use double-quotes for field-names (\") and commas (,) to separate fields.\n\n" |
69 | 74 | } |
|
80 | 85 | "id": "-dUCTOVbdo", |
81 | 86 | "setup": { |
82 | 87 | "files": ["package.json"], |
83 | | - "commits": ["2b907ae"] |
| 88 | + "commits": ["2ba75f8"] |
84 | 89 | }, |
85 | 90 | "solution": { |
86 | 91 | "files": ["package.json"], |
87 | | - "commits": ["6342f64"] |
| 92 | + "commits": ["63cd193"] |
88 | 93 | }, |
89 | 94 | "content": "Add an array of suitable strings to the `keywords` field in the package.json file of your project.\n\nOne of the keywords should be \"freecodecamp\".\n" |
90 | 95 | } |
|
101 | 106 | "id": "3DsFYGvBuc", |
102 | 107 | "setup": { |
103 | 108 | "files": ["package.json"], |
104 | | - "commits": ["96e3915"] |
| 109 | + "commits": ["acd63ba"] |
105 | 110 | }, |
106 | 111 | "solution": { |
107 | 112 | "files": ["package.json"], |
108 | | - "commits": ["ec61d78"] |
| 113 | + "commits": ["a64411c"] |
109 | 114 | }, |
110 | 115 | "content": "Fill the `license` field in the package.json file of your project as you find suitable.\n\n" |
111 | 116 | } |
|
122 | 127 | "id": "B07NvoYTwI", |
123 | 128 | "setup": { |
124 | 129 | "files": ["package.json"], |
125 | | - "commits": ["8ed877a"] |
| 130 | + "commits": ["580d786"] |
126 | 131 | }, |
127 | 132 | "solution": { |
128 | 133 | "files": ["package.json"], |
129 | | - "commits": ["5be16a2"] |
| 134 | + "commits": ["a92903d"] |
130 | 135 | }, |
131 | 136 | "content": "Add a `version` to the package.json file of your project.\n\n" |
132 | 137 | } |
|
143 | 148 | "id": "9VFvL2uElS", |
144 | 149 | "setup": { |
145 | 150 | "files": ["package.json"], |
146 | | - "commits": ["f89980a"], |
| 151 | + "commits": ["eafc39a"], |
147 | 152 | "watchers": ["package.json", "node_modules/moment"] |
148 | 153 | }, |
149 | 154 | "solution": { |
150 | 155 | "files": ["package.json"], |
151 | | - "commits": ["6bcac25"] |
| 156 | + "commits": ["50da157"] |
152 | 157 | }, |
153 | 158 | "content": "Install the \"moment\" package to the `dependencies` field of your package.json file by running the command line npm install.\n\n**Note:** Moment is a handy library for working with time and dates.\n\n" |
154 | 159 | } |
|
165 | 170 | "id": "p_BHY4SsgA", |
166 | 171 | "setup": { |
167 | 172 | "files": ["package.json"], |
168 | | - "commits": ["c7b5458"], |
| 173 | + "commits": ["e658c66"], |
169 | 174 | "watchers": ["package.json", "node_modules/moment"] |
170 | 175 | }, |
171 | 176 | "solution": { |
172 | 177 | "files": ["package.json"], |
173 | | - "commits": ["7854c2f"] |
| 178 | + "commits": ["f10433e"] |
174 | 179 | }, |
175 | 180 | "content": "In the dependencies section of your package.json file, change the `version` of moment to match MAJOR version 2, MINOR version 10 and PATCH version 2\n\n" |
176 | 181 | } |
|
187 | 192 | "id": "BISIX4-iz4d", |
188 | 193 | "setup": { |
189 | 194 | "files": ["package.json"], |
190 | | - "commits": ["ff88ec9"] |
| 195 | + "commits": ["b4edb0c"] |
191 | 196 | }, |
192 | 197 | "solution": { |
193 | 198 | "files": ["package.json"], |
194 | | - "commits": ["a4b2700"] |
| 199 | + "commits": ["8e169e1"] |
195 | 200 | }, |
196 | 201 | "content": "In the package.json file, your current rule for how npm may upgrade moment is to use a specific version (2.10.2). But now, you want to allow the latest 2.10.x version.\nUse the tilde (`~`) character to prefix the version of moment in your dependencies, and allow npm to update it to any new PATCH release.\n\n**Note:** The version numbers themselves should not be changed.\n\n" |
197 | 202 | } |
|
208 | 213 | "id": "X7yBkeKqF6_", |
209 | 214 | "setup": { |
210 | 215 | "files": ["package.json"], |
211 | | - "commits": ["dd56157"] |
| 216 | + "commits": ["67c5f7b"] |
212 | 217 | }, |
213 | 218 | "solution": { |
214 | 219 | "files": ["package.json"], |
215 | | - "commits": ["a9ec3c0"] |
| 220 | + "commits": ["601c5fe"] |
216 | 221 | }, |
217 | 222 | "content": "Use the caret (`^`) to prefix the version of moment in your dependencies and allow npm to update it to any new MINOR release.\n\n**Note:** The version numbers themselves should not be changed.\n\n" |
218 | 223 | } |
|
229 | 234 | "id": "_BvPBHOIDjP", |
230 | 235 | "setup": { |
231 | 236 | "files": ["package.json"], |
232 | | - "commits": ["9e35b51"] |
| 237 | + "commits": ["4359bde"] |
233 | 238 | }, |
234 | 239 | "solution": { |
235 | 240 | "files": ["package.json"], |
236 | | - "commits": ["9536de2"] |
| 241 | + "commits": ["f8cfb51"] |
237 | 242 | }, |
238 | 243 | "content": "Remove the moment package from your dependencies.\n\n**Note:** Make sure you have the right amount of commas after removing it.\n\n" |
239 | 244 | } |
|
0 commit comments