UNPKG

2.07 kBJSONView Raw
1{
2 "name": "dprint",
3 "version": "0.7.1",
4 "description": "TypeScript and JSONC code formatter.",
5 "main": "dist/dprint.js",
6 "bin": {
7 "dprint": "dist/cli-bin.js"
8 },
9 "types": "lib/dprint.d.ts",
10 "scripts": {
11 "build": "rimraf dist && yarn rollup && yarn build:cli && yarn build:declarations",
12 "build:cli": "ts-node --compiler ttypescript --project scripts/tsconfig.json --transpile-only scripts/buildCli.ts",
13 "build:declarations": "ts-node --compiler ttypescript --project scripts/tsconfig.json --transpile-only scripts/buildDeclarations.ts",
14 "rollup": "rollup --config",
15 "type-check": "tsc --project tsconfig.json --noEmit",
16 "test": "cross-env TS_NODE_COMPILER=\"ttypescript\" TS_NODE_TRANSPILE_ONLY=\"true\" mocha --opts mocha.opts",
17 "test:debug": "cross-env TS_NODE_COMPILER=\"ttypescript\" TS_NODE_TRANSPILE_ONLY=\"true\" mocha --opts mocha.opts --inspect-brk",
18 "test:watch": "yarn test --watch-extensions ts --watch"
19 },
20 "repository": {
21 "type": "git",
22 "url": "git+https://github.com/dsherret/dprint.git"
23 },
24 "keywords": [
25 "configurable",
26 "code",
27 "formatter",
28 "typescript",
29 "jsonc"
30 ],
31 "author": "David Sherret",
32 "license": "MIT",
33 "bugs": {
34 "url": "https://github.com/dsherret/dprint/issues"
35 },
36 "homepage": "https://github.com/dsherret/dprint#readme",
37 "dependencies": {
38 "@dprint/core": "~0.4.2",
39 "globby": "^10.0.1",
40 "minimist": "^1.2.0"
41 },
42 "devDependencies": {
43 "@types/chai": "^4.2.0",
44 "@types/globby": "^9.1.0",
45 "@types/minimist": "^1.2.0",
46 "@types/mocha": "^5.2.7",
47 "@types/node": "^12.7.3",
48 "@types/ts-nameof": "^3.2.0",
49 "chai": "^4.2.0",
50 "cross-env": "^5.2.0",
51 "mocha": "^6.2.0",
52 "rimraf": "^3.0.0",
53 "rollup": "^1.20.3",
54 "rollup-plugin-replace": "^2.2.0",
55 "rollup-plugin-typescript2": "^0.24.0",
56 "ts-morph": "^3.1.3",
57 "ts-nameof": "^3.2.0",
58 "ts-node": "^8.3.0",
59 "ttypescript": "^1.5.7",
60 "typescript": "^3.6.2"
61 }
62}