Removed postinstall script so npm installation is possible.

This commit is contained in:
Eric Traut 2019-03-24 03:06:45 -07:00
parent 0563813b9e
commit c9b18356a4
7 changed files with 9 additions and 9 deletions

View File

@ -64,7 +64,7 @@ You can install the latest-published version of the Pyright VS Code extension di
To build the project:
1. Install [nodejs](https://nodejs.org/en/)
2. Open terminal window in main directory of cloned source
3. Execute `npm install` to download dependencies
3. Execute `npm run install:all` to install dependencies
4. Execute `npm run build`
To build the VS Code extension package:

View File

@ -1,6 +1,6 @@
{
"name": "pyright",
"version": "1.0.1",
"version": "1.0.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -2,7 +2,7 @@
"name": "pyright",
"displayName": "Pyright",
"description": "VS Code language support and type checking for Python",
"version": "1.0.1",
"version": "1.0.2",
"license": "MIT",
"author": {
"name": "Microsoft Corporation"

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "pyright",
"version": "1.0.1",
"version": "1.0.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -2,7 +2,7 @@
"name": "pyright",
"displayName": "Pyright",
"description": "Type checker for the Python language",
"version": "1.0.1",
"version": "1.0.2",
"license": "MIT",
"author": {
"name": "Microsoft Corporation"
@ -13,13 +13,13 @@
"url": "https://github.com/Microsoft/pyright"
},
"scripts": {
"postinstall": "cd server && npm install && cd ../client && npm install && cd ..",
"install:all": "npm install && cd server && npm install && cd ../client && npm install && cd ..",
"build": "npm run build:client && npm run build:server",
"build:client": "cd client && npm run build && cd ..",
"build:server": "cd server && npm run build && cd ..",
"build:analyzer": "cd server && npm run build:analyzer && cd ..",
"build:pyright": "cd server && npm run build:pyright && cd ..",
"package": "npm run build && cd client && npx vsce package && cd .."
"package": "npm run install:all && npm run build && cd client && npx vsce package && cd .."
},
"devDependencies": {
"@types/mocha": "^5.2.5",

View File

@ -1,6 +1,6 @@
{
"name": "pyright",
"version": "1.0.1",
"version": "1.0.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -2,7 +2,7 @@
"name": "pyright",
"displayName": "pyright",
"description": "Type checker for the Python language",
"version": "1.0.1",
"version": "1.0.2",
"license": "MIT",
"scripts": {
"start": "npm run start:analyzer && npm run start:server",