UNPKG

3.23 kBJSONView Raw
1{
2 "name": "@stoplight/scripts",
3 "version": "4.2.1",
4 "description": "Scripts that help when creating, testing, releasing, and linting libraries.",
5 "keywords": [],
6 "sideEffects": false,
7 "homepage": "https://github.com/stoplightio/scripts",
8 "bugs": "https://github.com/stoplightio/scripts/issues",
9 "author": "Stoplight <support@stoplight.io>",
10 "repository": {
11 "type": "git",
12 "url": "https://github.com/stoplightio/scripts.git"
13 },
14 "license": "Apache-2.0",
15 "main": "dist/index.js",
16 "types": "dist/index.d.ts",
17 "files": [
18 "/bin",
19 "/dist",
20 "/templates",
21 "/npm-shrinkwrap.json",
22 "/oclif.manifest.json",
23 "release.js",
24 "jest-preset.js",
25 "jest.config.js",
26 "tsconfig.json",
27 "tslint.json",
28 "!__tests__"
29 ],
30 "oclif": {
31 "commands": "./dist/commands",
32 "bin": "sl-scripts",
33 "plugins": [
34 "@oclif/plugin-help"
35 ]
36 },
37 "engines": {
38 "node": ">=8.3.0"
39 },
40 "bin": {
41 "sl-scripts": "./bin/run"
42 },
43 "scripts": {
44 "prebuild": "rimraf dist",
45 "build": "tsc && oclif-dev manifest && oclif-dev readme",
46 "test": "jest",
47 "test.watch": "jest --watch",
48 "test.prod": "yarn lint && yarn test --coverage --no-cache",
49 "test.update": "yarn test --updateSnapshot",
50 "lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts'",
51 "lint.fix": "yarn lint --fix",
52 "commit": "git-cz",
53 "release": "semantic-release",
54 "postpack": "rm -f oclif.manifest.json",
55 "prepack": "rm -rf dist && yarn build"
56 },
57 "release": {
58 "plugins": [
59 "@semantic-release/commit-analyzer",
60 "@semantic-release/release-notes-generator",
61 "@semantic-release/npm",
62 "@semantic-release/github"
63 ]
64 },
65 "lint-staged": {
66 "*.{ts,tsx}$": [
67 "yarn lint.fix",
68 "git add"
69 ]
70 },
71 "husky": {
72 "hooks": {
73 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
74 "pre-commit": "lint-staged"
75 }
76 },
77 "config": {
78 "commitizen": {
79 "path": "node_modules/cz-conventional-changelog"
80 }
81 },
82 "commitlint": {
83 "extends": [
84 "@commitlint/config-conventional"
85 ]
86 },
87 "dependencies": {
88 "@commitlint/cli": "7.5.0",
89 "@commitlint/config-conventional": "7.5.0",
90 "@oclif/command": "1.5.x",
91 "@oclif/config": "1.12.4",
92 "@oclif/plugin-help": "2.1.6",
93 "@semantic-release/commit-analyzer": "6.1.x",
94 "@semantic-release/git": "7.0.8",
95 "@semantic-release/github": "5.2.10",
96 "@semantic-release/npm": "5.1.4",
97 "@semantic-release/release-notes-generator": "7.1.x",
98 "@types/jest": "23.3.13",
99 "@types/node": "10.12.21",
100 "cli-ux": "5.0.0",
101 "commitizen": "3.0.5",
102 "cz-conventional-changelog": "2.1.x",
103 "husky": "1.3.1",
104 "inquirer": "6.2.2",
105 "jest": "24.0.0",
106 "lint-staged": "8.1.1",
107 "lodash": "4.x.x",
108 "rimraf": "2.6.3",
109 "semantic-release": "15.13.3",
110 "shelljs": "0.8.x",
111 "ts-jest": "23.10.5",
112 "tslib": "1.9.3",
113 "tslint-config-stoplight": "1.2.x",
114 "typedoc": "0.14.2"
115 },
116 "devDependencies": {
117 "@oclif/dev-cli": "1.21.0",
118 "@types/inquirer": "0.0.x",
119 "@types/lodash": "4.14.120",
120 "@types/shelljs": "0.8.2",
121 "ts-node": "8.0.2",
122 "typescript": "3.3.1"
123 }
124}