Closed mkht closed 6 years ago
// package.json { "scripts": { "hello": "echo 'hello'" } }
PS > pspm run hello hello
// package.json { "scripts": { "start": "echo 'start'", "restart": "echo 'restart'", "stop": "echo 'stop'", "test": "echo 'test'" } }
PS > pspm start start PS > pspm restart restart PS > pspm stop stop PS > pspm test test
// package.json { "scripts": { "prestart": "echo 'prestart'", "start": "echo 'start'", "poststart": "echo 'poststart'" } }
PS > pspm start prestart start poststart
User defined scripts
Preserved scripts
pre / post hook