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

atbuild

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atbuild - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

5

package.json
{
"name": "atbuild",
"version": "1.5.0",
"version": "1.5.1",
"main": "dist/atbuild.js",

@@ -57,3 +57,3 @@ "browser": "web/atbuild.js",

"postbuild": "rimraf dist/**/*{.test.ts, .test.js, .ts.d.js}",
"build": "yarn build-node && yarn build-web; yarn build-types",
"build": "yarn build-node && yarn build-web && yarn build-types",
"build-web": "esbuild --sourcemap --define:\"process.env.NODE_ENV\"=\"'production'\" --define:\"process.env.WEB=true\" --bundle ./src/atbuild.ts ./src/light.ts --format=esm --outdir=./web ",

@@ -69,3 +69,2 @@ "build-types": "yarn tsc --p tsconfig.json --outfile types || true",

"dependencies": {
"atbuild": "../",
"esbuild": "https://github.com/Jarred-Sumner/esbuild/releases/download/pluginbuild/esbuild-0.8.1.tgz",

@@ -72,0 +71,0 @@ "loader-utils": "^2.0.0",

10

README.md

@@ -12,4 +12,8 @@ # AtBuild – Experimental JavaScript Preprocessor

Try the playground: https://atbuild.vercel.app/bundle/date-formatter.tsb
Try the playground
<a target="_blank" href="https://atbuild.vercel.app/bundle/date-formatter.tsb">
<img src="" />
</a>
# How it works

@@ -26,3 +30,3 @@

1. Code inside of `$(buildTimeCodeInHere)` will be run & replaced at buildtime (❤️ jQuery)
1. Code inside of `$(buildTimeCodeInHere)` will be run & replaced at buildtime
2. Code fenced within `// $$` will be moved to buildtime

@@ -68,3 +72,3 @@ 3. Lines ending with `// $` with be moved to buildtime

⌨️ `atbuild ./input.js ./output.js`
[⌨️ `atbuild ./input.js ./output.js`](https://atbuild.vercel.app/bundle/date-formatter.tsb)

@@ -71,0 +75,0 @@ `output.js`:

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