mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-26 02:23:43 +03:00
remove postinstall script
This commit is contained in:
parent
da2317e40d
commit
af532aa725
|
@ -104,8 +104,9 @@ Redoc.init('http://petstore.swagger.io/v2/swagger.json', {
|
|||
`git clone https://github.com/Rebilly/ReDoc.git`
|
||||
2. Go to the project folder
|
||||
`cd ReDoc`
|
||||
3. Install node modules
|
||||
3. Install node modules and front-end dependencies
|
||||
`npm install`
|
||||
`npm run jspm-install`
|
||||
4. _(optional)_ Replace `demo/swagger.json` with your own schema
|
||||
5. Start the server
|
||||
`npm start`
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"scripts": {
|
||||
"test": "gulp lint && ./build/run_tests.sh",
|
||||
"prepublish": "gulp build",
|
||||
"postinstall": "npm install jspm && jspm install",
|
||||
"jspm-install": "jspm install",
|
||||
"start": "gulp serve",
|
||||
"build-dist": "gulp build",
|
||||
"branch-release": "git reset --hard && branch-release",
|
||||
|
|
Loading…
Reference in New Issue
Block a user