Files
vscode-theme-generator/package.json
Fahad 52491f1d00 Problem Statement: When running "npm install" in vscode to set this up, it returns the error "node_modules/@types/node/index.d.ts:20:1 - error TS1084: Invalid 'reference' directive syntax." #59
Proposed Fix: Updating the #types/node and typescript versions fixed the issue. The project doesn't throw issue while running npm install anymore. npm run start also runs seemlessly withouth any crashes.
2021-01-17 18:51:54 +05:00

31 lines
705 B
JSON

{
"name": "vscode-theme-generator",
"version": "0.1.5",
"description": "Easily generate themes for VS Code with only a few colors",
"main": "dist/index.js",
"scripts": {
"watch": "tsc -w",
"build": "tsc",
"prestart": "tsc demo/generate.ts",
"start": "node demo/generate.js",
"prepublish": "npm run build",
"lint": "tslint src/*.ts"
},
"author": "Tyriar",
"license": "MIT",
"typescript": {
"definition": "index.d.ts"
},
"files": [
"dist/*.js",
"dist/*.d.ts"
],
"typings": "dist/index",
"devDependencies": {
"@types/node": "^14.14.21",
"tslint": "^5.9.1",
"tslint-consistent-codestyle": "^1.13.0",
"typescript": "^4.1.3"
}
}