-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 2.7 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "@cptpiepmatz/pretty-ts-imports",
"version": "1.1.0",
"description": "A Tool to sort Typescript Imports with a Set of complex Rules.",
"keywords": [
"rules",
"typescript",
"prettier",
"ts",
"beautifier",
"import",
"complex",
"pretty",
"imports",
"primp"
],
"main": "./dist/lib.bundle.min.js",
"sourceMap": "./dist/lib.bundle.min.js.map",
"types": "./dist/lib.d.ts",
"bin": {
"pretty-ts-imports": "./bin/pretty-ts-imports",
"primp": "./bin/primp"
},
"scripts": {
"test": "jasmine-ts",
"coverage": "nyc jasmine-ts",
"run-dev": "ts-node src/cli.ts",
"build": "npm run build:clean && npm run build:tsc && npm run build-cli:bundle && npm run build-cli:minify && npm run build-lib:bundle && npm run build-lib:minify && npm run build-lib:types",
"build:clean": "del-cli dist & del-cli out",
"build:tsc": "tsc",
"build-cli:bundle": "browserify out/src/cli.js --node -o dist/cli.bundle.js --no-bundle-external",
"build-cli:minify": "terser dist/cli.bundle.js -o dist/cli.bundle.min.js --source-map --toplevel",
"build-lib:types": "npm-dts generate -e src/lib.ts -o dist/lib.d.ts -t tmp/dts -L warn",
"build-lib:bundle": "browserify out/src/lib.js --node -o dist/lib.bundle.js --no-bundle-external --standalone primp",
"build-lib:minify": "terser dist/lib.bundle.js -o dist/lib.bundle.min.js --source-map --toplevel",
"schema:config": "typescript-json-schema src/config/Config.ts Config --tsNodeRegister -o config.schema.json",
"schema": "npm run schema:config",
"primp": "npm run -- run-dev src -r && npm run -- run-dev spec -r",
"docs": "typedoc",
"scripts:unscope": "node scripts/unscopePackage.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cptpiepmatz/pretty-ts-imports.git"
},
"author": "Tim 'Piepmatz' Hesse",
"license": "MIT",
"bugs": {
"url": "https://github.com/cptpiepmatz/pretty-ts-imports/issues"
},
"homepage": "https://github.com/cptpiepmatz/pretty-ts-imports#readme",
"dependencies": {
"detect-newline": "<4.0.0",
"json5": "^2.2.1",
"node-watch": "^0.7.3",
"require-from-string": "^2.0.2",
"typescript": "^4.7.4",
"yaml": "^2.1.1",
"yargs": "^17.5.1"
},
"devDependencies": {
"@types/jasmine": "<4.0.0",
"@types/node": "^18.0.0",
"@types/require-from-string": "^1.2.1",
"@types/yargs": "^17.0.10",
"browserify": "^17.0.0",
"del-cli": "^4.0.1",
"jasmine": "<4.0.0",
"jasmine-ts": "^0.4.0",
"npm-dts": "^1.3.12",
"nyc": "^15.1.0",
"terser": "^5.14.1",
"ts-node": "^10.8.1",
"typedoc": "^0.22.17",
"typedoc-plugin-extras": "^2.2.3",
"typescript-json-schema": "^0.53.1"
}
}