UNPKG

2.06 kBJSONView Raw
1{
2 "name": "@polymer/gen-typescript-declarations",
3 "version": "1.6.2",
4 "description": "Generate TypeScript type declarations for Polymer components.",
5 "homepage": "https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations",
6 "repository": "github:Polymer/tools",
7 "bugs": "https://github.com/Polymer/tools/issues",
8 "license": "BSD-3-Clause",
9 "author": "The Polymer Project Authors",
10 "main": "lib/gen-ts.js",
11 "types": "lib/gen-ts.d.ts",
12 "bin": "bin/gen-tsd",
13 "directories": {
14 "lib": "lib"
15 },
16 "engines": {
17 "node": ">=8"
18 },
19 "dependencies": {
20 "@babel/types": "^7.0.0-beta.42",
21 "@types/command-line-args": "^5.0.0",
22 "@types/command-line-usage": "^5.0.1",
23 "@types/doctrine": "0.0.3",
24 "@types/fs-extra": "^5.0.0",
25 "@types/glob": "^5.0.35",
26 "@types/parse5": "^2.2.34",
27 "babylon": "^7.0.0-beta.42",
28 "command-line-args": "^5.0.1",
29 "command-line-usage": "^5.0.2",
30 "doctrine": "^2.0.0",
31 "escodegen": "^1.9.0",
32 "fs-extra": "^6.0.1",
33 "glob": "^7.1.2",
34 "minimatch": "^3.0.4",
35 "polymer-analyzer": "^3.0.2",
36 "source-map-support": "^0.5.9",
37 "typescript": "^3.0.1",
38 "vscode-uri": "=1.0.6"
39 },
40 "devDependencies": {
41 "bower": "^1.8.2",
42 "rimraf": "^2.6.2",
43 "tsc-then": "^1.0.1"
44 },
45 "scripts": {
46 "build": "npm run clean && tsc && npm run lint",
47 "build:watch": "tsc --watch",
48 "clean": "rimraf lib",
49 "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",
50 "lint": "tslint --project . --format stylish",
51 "prepack": "npm run build",
52 "prepublishOnly": "npm run test",
53 "test": "npm run test:unit",
54 "test:unit": "npm run lint && npm run test:setup && npm run build && mocha",
55 "test:watch": "tsc-then -- mocha --color",
56 "test:setup": "bash scripts/setup-fixtures.sh",
57 "update-goldens": "npm run test:setup && npm run build && scripts/update-goldens.js"
58 }
59}