@sgratzl/script_test

1.1.0 • Public • Published

script_test

Scenario 1: git clone & npm i

git clone git@github.com/sgratzl/script_test
cd script_test
npm i

will run

  • prepare

Scenario 2: npm publish

# extends scenario 1
npm run release:minor

will run

  • prepare
  • prepack

Scenario 3: npm git dependency

mkdir test
cd test
npm i sgratzl/script_test

will run

  • install dev dependencies
  • prepare
  • prepack

see https://blog.npmjs.org/post/161081169345/v500

Git dependencies with prepare scripts will have their devDependencies installed, and npm install run in their directory before being packed.

see https://github.com/npm/npm/issues/19564

npm prepack script is run without dependencies

Scenario 4: npm published version

mkdir test
cd test
npm i @sgratzl/script_test

will run

  • (none, I guess)

/@sgratzl/script_test/

    Package Sidebar

    Install

    npm i @sgratzl/script_test

    Weekly Downloads

    0

    Version

    1.1.0

    License

    ISC

    Unpacked Size

    2.65 kB

    Total Files

    6

    Last publish

    Collaborators

    • sgratzl