dpogue commented on code in PR #977: URL: https://github.com/apache/cordova-docs/pull/977#discussion_r1835036141
########## www/docs/en/dev/guide/overview/project-structure.md: ########## @@ -0,0 +1,113 @@ +--- +license: > + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +title: Project Structure of a Cordova Project +toc_title: Project Structure +description: +--- + +# Project Structure + +## CLI's Default Directory Structure + +A project created with Cordova CLI comes with the follow directory structure by default: + +```text +myapp/ +├── config.xml +├── node_modules/ +├── package.json +├── platforms/ +├── plugins/ +└── www +``` + +### `package.json` + +A manifest declaring what JavaScript package dependencies are used by your project, including Cordova, the added platforms, and any added plugins. This is also where plugin variable values are stored. + +Your project might already have a `package.json` file with its own dependencies, or one generated from a framework. Cordova will simply add what it needs to the `package.json` file without interfering with other tools or dependencies. + +### `config.xml` + +Contains the preferences and configuration options for your Cordova application and allows you to customize the behavior of your project. + +See also [`config.xml` reference documentation][config.xml ref]. Review Comment: This link doesn't seem to have its target "config.xml ref" defined anywhere -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org