@parcel/source-map

v2.0.0-alpha.4.17
A source map library purpose-build for the Parcel bundler with a focus on fast combining and manipulating of source-maps.

test

npm run test:node && npm run test:wasm

test:node

cross-env BACKEND=node mocha ./test/*.test.js

test:wasm

cross-env BACKEND=wasm mocha ./test/*.test.js

benchmark

npm run benchmark:node && npm run benchmark:wasm

benchmark:node

cross-env BACKEND=node node ./bench/run

benchmark:wasm

cross-env BACKEND=wasm node ./bench/run

compile-wasm

make clean && make -j4

transpile

babel ./src/*.js --out-dir ./dist && flow-copy-source -v src dist

prebuild

prebuildify -t 10.20.1 --napi --strip --tag-libc

build:dev

node-gyp rebuild --debug

rebuild

rm -rf build && yarn build:dev

rebuild-all

yarn transpile && yarn compile-wasm && yarn rebuild

install

node-gyp-build

prepublish

npm run transpile

lint

prettier --write bench/run.js src/*.js

typecheck

flow

format

prettier --write "./**/*.{js,md,mdx}"

compile-schema

./flatc --cpp -o ./src ./src/sourcemap-schema.fbs
npm i @parcel/[email protected]

Metadata

  • MIT
  • >= 10
  • Unknown
  • released 10/20/2020

Downloads

Maintainers