Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

example-client-project

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

example-client-project - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.npmignore

4

package.json
{
"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 :)`)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc