Home
last modified time | relevance | path

Searched refs:pkgJson (Results 1 – 10 of 10) sorted by relevance

/third_party/node/deps/npm/test/tap/
Dinstall-save-local.js64 var pkgJson = JSON.parse(fs.readFileSync(pkg + '/package.json', 'utf8'))
65 t.is(Object.keys(pkgJson.dependencies).length, 1, 'only one dep')
67 /file:.*?[/]package-local-dependency$/.test(pkgJson.dependencies['package-local-dependency']),
91 var pkgJson = JSON.parse(fs.readFileSync(pkg + '/package.json', 'utf8'))
92 t.is(Object.keys(pkgJson.dependencies).length, 1, 'only one dep')
94 /file:package-local-dependency$/.test(pkgJson.dependencies['package-local-dependency']),
118 var pkgJson = JSON.parse(fs.readFileSync(pkg + '/package.json', 'utf8'))
119 t.is(Object.keys(pkgJson.devDependencies).length, 1, 'only one dep')
121 …/file:.*?[/\\]package-local-dev-dependency$/.test(pkgJson.devDependencies['package-local-dev-depen…
147 var pkgJson = JSON.parse(fs.readFileSync(pkg + '/package.json', 'utf8'))
[all …]
Dinstall-save-prefix.js46 var pkgJson = JSON.parse(fs.readFileSync(
51 pkgJson.dependencies,
76 var pkgJson = JSON.parse(fs.readFileSync(
81 pkgJson.devDependencies,
107 var pkgJson = JSON.parse(fs.readFileSync(
112 pkgJson.dependencies,
137 var pkgJson = JSON.parse(fs.readFileSync(
142 pkgJson.devDependencies,
Duninstall-save.js46 var pkgJson = JSON.parse(fs.readFileSync(
51 pkgJson.dependencies,
61 var pkgJson = JSON.parse(fs.readFileSync(
67 pkgJson.dependencies,
Dinstall-noargs-dev.js57 var pkgJson = JSON.parse(fs.readFileSync(p))
59 t.equal(pkgJson.version, '1.3.1')
84 var pkgJson = JSON.parse(fs.readFileSync(p))
86 t.equal(pkgJson.version, '1.5.1')
Dinstall-save-exact.js59 var pkgJson = JSON.parse(fs.readFileSync(p, 'utf8'))
62 pkgJson[deptype],
/third_party/node/deps/npm/lib/
Daudit.js161 ]).spread((shrinkwrap, lockfile, pkgJson) => {
163 if (!pkgJson) {
177 (pkgJson && pkgJson.dependencies) || {},
178 (!opts.production && pkgJson && pkgJson.devDependencies) || {}
Dshrinkwrap.js247 function updateLockfileMetadata (pkginfo, pkgJson) { argument
/third_party/node/deps/npm/node_modules/libnpmpublish/
DREADME.md43 #### <a name="publish"></a> `> libpub.publish(pkgJson, tarData, [opts]) -> Promise`
45 Publishes `tarData` to the appropriate configured registry. `pkgJson` should be
/third_party/node/lib/internal/modules/esm/
Dresolve.js278 const pkgJson = packageJsonReader.read(pkgJsonPath);
279 if (pkgJson.containsKeys) {
280 const { main } = JSONParse(pkgJson.string);
/third_party/node/deps/npm/node_modules/pacote/
DREADME.md87 pacote.manifest('pacote@1.0.0').then(pkgJson => {
124 pacote.packument('pacote').then(pkgJson => {