
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@dac-software/offer-state
Advanced tools
This is simple redux app with offer state for components using common state. Library uses redux and typescript. Developing bundler is webpack.
#Offer state
This is simple redux app with offer state for components using common state. Library uses redux and typescript. Developing bundler is webpack.
Build production build made as simple tsc compilation with asset files copies provided
##Requirements - nodejs v10 + - npm v6.9.0 +
##Installation: Installing dependencies
For properly installing depedencies you need to prepare whole repository from its ROOT directory, calling lerna commands
For preparing needed devDepedencies on top level
npm install
Installing dependencies in each package
lerna bootstrap
###Build process
Build task builds two types of library entrypoints :
"ecma script module" - destined for further bundler processing, it is resolved through simply typescript compiling in package.json statement
tsc && copyfiles "./lib/**/*.!(tsx|ts|d.ts|html)" "dist/esm" -u 1
##Development
Be sure, that all "file" linked depedencies, has their dist directories, if not - call commands from repository ROOT directory
lerna bootstrap
lerna run build
Running dev mode through bundler in other project. Project should be linked by npm.
lerna run build:dev --scope @dac-software/offer-state
##Running tests
Allowed only from root directory
npm run test
####Codestyle
We are in consonance with standardjs. Call commands from repository ROOT directory
Validation codestyle:
lerna run codestyle-check-typescript
Automatic fix:
lerna exec npm run codestyle-typescript-fix
##Compilation summary
lerna run build:dev (imported as esm in higher bundler) | lerna run build (production build) | |
|---|---|---|
| key dist files | none | dist/esm/offer-state.js |
| files extraction | no | yes |
FAQs
This is simple redux app with offer state for components using common state. Library uses redux and typescript. Developing bundler is webpack.
We found that @dac-software/offer-state demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.