Socket
Socket
Sign inDemoInstall

non-worker

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

non-worker - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

build/cjs/src/index.js

17

package.json
{
"name": "non-worker",
"version": "0.0.0",
"version": "0.0.1",
"description": "Make any web worker.js could run as normal function in main thread.",
"repository": "react-atomic/react-atomic-organism",
"main": "./build/src/index.js",
"main": "./build/cjs/src/index.js",
"module": "./build/es/src/index.js",
"keywords": [],

@@ -12,3 +13,3 @@ "author": "Hill <hill@kimo.com>",

"devDependencies": {
"babel-cli": "*",
"@babel/cli": "^7.x",
"chai": "*",

@@ -18,9 +19,11 @@ "mocha": "*"

"scripts": {
"build": "rm -rf build && BABEL_ENV=build babel src -d build/src",
"build:cjs": "BABEL_ENV=build babel src -d build/cjs/src --root-mode upward",
"build:es": "BABEL_ENV=es babel src -d build/es/src --root-mode upward",
"build:test": "BABEL_ENV=build babel tests -d build/tests --root-mode upward",
"build": "rm -rf build && npm run build:cjs && npm run build:es",
"prepublishOnly": "npm run build",
"buildTest": "BABEL_ENV=build babel tests -d build/tests",
"test": "npm run build && npm run buildTest && mocha 'build/tests/**/*.js'"
"test": "npm run build && npm run build:test && mocha 'build/tests/**/*.js'"
},
"files": [
"build/src",
"build",
"package.json",

@@ -27,0 +30,0 @@ "README.md"

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