@polymer/gen-typescript-declarations
Version:
Generate TypeScript type declarations for Polymer components.
60 lines (59 loc) • 2.06 kB
JSON
{
"name": "@polymer/gen-typescript-declarations",
"version": "1.6.2",
"description": "Generate TypeScript type declarations for Polymer components.",
"homepage": "https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations",
"repository": "github:Polymer/tools",
"bugs": "https://github.com/Polymer/tools/issues",
"license": "BSD-3-Clause",
"author": "The Polymer Project Authors",
"main": "lib/gen-ts.js",
"types": "lib/gen-ts.d.ts",
"bin": "bin/gen-tsd",
"directories": {
"lib": "lib"
},
"engines": {
"node": ">=8"
},
"dependencies": {
"@babel/types": "^7.0.0-beta.42",
"@types/command-line-args": "^5.0.0",
"@types/command-line-usage": "^5.0.1",
"@types/doctrine": "0.0.3",
"@types/fs-extra": "^5.0.0",
"@types/glob": "^5.0.35",
"@types/parse5": "^2.2.34",
"babylon": "^7.0.0-beta.42",
"command-line-args": "^5.0.1",
"command-line-usage": "^5.0.2",
"doctrine": "^2.0.0",
"escodegen": "^1.9.0",
"fs-extra": "^6.0.1",
"glob": "^7.1.2",
"minimatch": "^3.0.4",
"polymer-analyzer": "^3.0.2",
"source-map-support": "^0.5.9",
"typescript": "^3.0.1",
"vscode-uri": "=1.0.6"
},
"devDependencies": {
"bower": "^1.8.2",
"rimraf": "^2.6.2",
"tsc-then": "^1.0.1"
},
"scripts": {
"build": "npm run clean && tsc && npm run lint",
"build:watch": "tsc --watch",
"clean": "rimraf lib",
"format": "find src -name \"*.ts\" -not -path \"src/test/fixtures/*\" -not -path \"src/test/goldens/*\" -not -path \"src/test/goldens_goog/*\" | xargs clang-format --style=file -i",
"lint": "tslint --project . --format stylish",
"prepack": "npm run build",
"prepublishOnly": "npm run test",
"test": "npm run test:unit",
"test:unit": "npm run lint && npm run test:setup && npm run build && mocha",
"test:watch": "tsc-then -- mocha --color",
"test:setup": "bash scripts/setup-fixtures.sh",
"update-goldens": "npm run test:setup && npm run build && scripts/update-goldens.js"
}
}