package-json-type
    Preparing search index...

    Interface IScriptsMap

    The "scripts" property is a dictionary containing script commands that are run at various times in the lifecycle of your package. The key is the lifecycle event, and the value is the command to run at that point.

    {
    "scripts": {
    "install": "install.js",
    "uninstall": "uninstall.js",
    "build": "build.js",
    "doc": "make-doc.js",
    "test": "test.js",
    }
    }
    interface IScriptsMap {
        install: string;
        postinstall: string;
        postpack: string;
        postrestart: string;
        postshrinkwrap: string;
        poststart: string;
        poststop: string;
        posttest: string;
        postuninstall: string;
        postversion: string;
        preinstall: string;
        prepack: string;
        prepare: string;
        prepublish: string;
        prepublishOnly: string;
        prerestart: string;
        preshrinkwrap: string;
        prestart: string;
        prestop: string;
        pretest: string;
        preuninstall: string;
        preversion: string;
        publish: string;
        restart: string;
        shrinkwrap: string;
        start: string;
        stop: string;
        test: string;
        uninstall: string;
        version: string;
    }
    Index

    Properties

    install: string
    postinstall: string
    postpack: string
    postrestart: string
    postshrinkwrap: string
    poststart: string
    poststop: string
    posttest: string
    postuninstall: string
    postversion: string
    preinstall: string
    prepack: string
    prepare: string
    prepublish: string
    prepublishOnly: string
    prerestart: string
    preshrinkwrap: string
    prestart: string
    prestop: string
    pretest: string
    preuninstall: string
    preversion: string
    publish: string
    restart: string
    shrinkwrap: string
    start: string
    stop: string
    test: string
    uninstall: string
    version: string