Difference between revisions of "Package.json"
Jump to navigation
Jump to search
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | https://docs.npmjs.com/cli/ | + | https://docs.npmjs.com/cli/v10/configuring-npm/package-json |
"build": "[[webpack]]" | "build": "[[webpack]]" | ||
Line 6: | Line 6: | ||
"dependencies": | "dependencies": | ||
− | https://docs.npmjs.com/cli/ | + | https://docs.npmjs.com/cli/v10/configuring-npm/package-json#dependencies |
"devDependencies": | "devDependencies": | ||
− | https://docs.npmjs.com/cli/ | + | https://docs.npmjs.com/cli/v10/configuring-npm/package-json#devdependencies |
+ | |||
+ | "resolutions": | ||
+ | https://classic.yarnpkg.com/en/docs/selective-version-resolutions/ | ||
+ | |||
+ | "overrides": | ||
+ | https://docs.npmjs.com/cli/v10/configuring-npm/package-json#overrides | ||
+ | |||
+ | |||
+ | { | ||
+ | "repository": { | ||
+ | "type": "git", | ||
+ | "url": "https://github.com/npm/cli.git" | ||
+ | } | ||
+ | } | ||
+ | |||
+ | == Errors == | ||
+ | * <code>[[warning package.json: No license field]]</code> | ||
== Related == | == Related == | ||
* <code>[[yarn build]]</code> | * <code>[[yarn build]]</code> | ||
+ | * <code>[[yarn run]]</code> | ||
+ | * <code>[[yarn start]]</code> | ||
+ | * <code>[[yarn install]]</code> | ||
+ | * <code>[[requirements.txt]]</code> | ||
+ | * <code>[[.npmrc]]</code> | ||
+ | * [[Grafana]]: https://github.com/grafana/grafana/blob/main/package.json | ||
== See also == | == See also == |
Latest revision as of 11:06, 8 February 2024
https://docs.npmjs.com/cli/v10/configuring-npm/package-json
"build": "webpack"
"dependencies": https://docs.npmjs.com/cli/v10/configuring-npm/package-json#dependencies
"devDependencies": https://docs.npmjs.com/cli/v10/configuring-npm/package-json#devdependencies
"resolutions": https://classic.yarnpkg.com/en/docs/selective-version-resolutions/
"overrides": https://docs.npmjs.com/cli/v10/configuring-npm/package-json#overrides
{ "repository": { "type": "git", "url": "https://github.com/npm/cli.git" } }
Errors[edit]
Related[edit]
yarn build
yarn run
yarn start
yarn install
requirements.txt
.npmrc
- Grafana: https://github.com/grafana/grafana/blob/main/package.json
See also[edit]
npm
,npx
,npm [ init
|audit
|install
|link | config | token
|start | publish | run start
|update | rebuild
|ci
|run build
].env/
,list
|ls | --version
,package.json
,$HOME/.npmrc
,npm help
, NPM Registry, npm ERR!- Node.js, JavaScript runtime, Deno, nock, next.js, express.js, electron, Nest.js, nvm,
package.json
, Webpack,node -r
,npm, nvm, node-gyp
, Node.js modules, Fastify, PM2, UnhandledPromiseRejectionWarning, node-inspector, Puppeteer, Node-config, Node-RED
Advertising: