example-client-project
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "example-client-project", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"build": "echo no build script", | ||
"postinstall": "npm run copy-deps", | ||
@@ -14,2 +15,3 @@ "copy-deps": "node scripts/copy-deps.js", | ||
"devDependencies": { | ||
"@ng-mw/copy-deps": "^1.0.3", | ||
"@ng-mw/ng-utils": "^1.0.1", | ||
@@ -16,0 +18,0 @@ "async": "^2.1.5", |
@@ -1,12 +0,18 @@ | ||
var rootOutputDir = `${__dirname}/../Static/js`; | ||
var rootOutputDir = `${__dirname}/../`; | ||
const nodeModules = `${__dirname}/../node_modules`; | ||
const ngModules = `${nodeModules}/@ng-mw`; | ||
const deps = require('@ng-mw/copy-deps'); | ||
const fs = require('fs'); | ||
// create the directory structure if not present already | ||
try { | ||
fs.mkdirSync(`${rootOutputDir}/Static`); | ||
fs.mkdirSync(`${rootOutputDir}/Static/js`); | ||
} catch(err) {} | ||
deps.addDep(`${ngModules}/ng-utils/dist/bundle.js`, `${rootOutputDir}/ng-utils.js`, ["jquery.js", "./plugins/underscore.js" ]) | ||
deps.addDep(`${ngModules}/ng-utils/dist/bundle.js`, `${rootOutputDir}/Static/js/ng-utils.js`, ["jquery.js", "./plugins/underscore.js" ]) | ||
deps.doCopy(); | ||
console.log(`Check out the resulting file in ${rootOutputDir}/ng-utils.js. | ||
console.log(`Check out the resulting file in ${rootOutputDir}/Static/js/ng-utils.js. | ||
Pay attention to the Cassette references in the header :)`) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
2
1476
4
14
1