PACKAGE.JSON
Andrew University Computer Science Dept.
Project dependencies
Copyright By PowCoder代写 加微信 powcoder
Your scripts, configurations, settings and environments
Project Information
THE MANIFEST
OF YOUR PROJECT
CONTENTS WITHIN THE FILE
The only requirement for the file is that is it formatted using JSON
It can be empty (no
attributes or values)
SYNTAX EXAMPLE
THE NAME ATTRIBUTE
The name attribute cannot have spaces
Needs to be less than 214 characters.
Can use hypens, underscores and should be all lowercase
Name: “met-cs-601-test”
name: “test-project”, version: “1.0.0”
Creates your basic json.properties file.
It is not required to be used. You can choose to create your own package.json from scratch (By hand), if you want to.
NPM INIT – EXAMPLE
Dependencies are modules
that your application (or
module) needs to function in Production.
DEPENDENCIES
TYPES OF DEPENDENCIES
dependencies:
Needed for Production
devDependencies:
Needed only for localhost development
testDependencies:
For your tests or test runs
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com