UNPKG

3.49 kBJSONView Raw
1{
2 "name": "@stoplight/scripts",
3 "version": "9.0.5",
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 "rollup.config.js",
27 "tsconfig.json",
28 "tslint.json",
29 "!__tests__"
30 ],
31 "oclif": {
32 "commands": "./dist/commands",
33 "bin": "sl-scripts",
34 "plugins": [
35 "@oclif/plugin-help"
36 ]
37 },
38 "engines": {
39 "node": ">=10.2"
40 },
41 "bin": {
42 "sl-scripts": "./bin/run"
43 },
44 "scripts": {
45 "prebuild": "rimraf dist",
46 "build": "tsc --module commonjs",
47 "postbuild": "oclif-dev manifest && oclif-dev readme",
48 "test": "jest",
49 "test.watch": "jest --watch",
50 "test.prod": "yarn lint && yarn test --coverage --maxWorkers=2",
51 "test.update": "yarn test --updateSnapshot",
52 "lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.{ts,tsx}'",
53 "lint.fix": "yarn lint --fix",
54 "commit": "git-cz",
55 "release": "semantic-release",
56 "postpack": "rm -f oclif.manifest.json",
57 "prepack": "rm -rf dist && yarn build"
58 },
59 "release": {
60 "plugins": [
61 "@semantic-release/commit-analyzer",
62 "@semantic-release/release-notes-generator",
63 "@semantic-release/npm",
64 "@semantic-release/github"
65 ]
66 },
67 "lint-staged": {
68 "*.{ts,tsx}$": [
69 "yarn lint.fix"
70 ]
71 },
72 "husky": {
73 "hooks": {
74 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
75 "pre-commit": "lint-staged"
76 }
77 },
78 "config": {
79 "commitizen": {
80 "path": "node_modules/cz-conventional-changelog"
81 }
82 },
83 "commitlint": {
84 "extends": [
85 "@commitlint/config-conventional"
86 ]
87 },
88 "dependencies": {
89 "@commitlint/cli": "8.3.5",
90 "@commitlint/config-conventional": "8.3.4",
91 "@oclif/command": "1.5.19",
92 "@oclif/config": "1.14.0",
93 "@oclif/plugin-help": "2.2.3",
94 "@rollup/plugin-commonjs": "^19.0.0",
95 "@rollup/plugin-json": "^4.1.0",
96 "@semantic-release/commit-analyzer": "8.0.1",
97 "@semantic-release/git": "9.0.0",
98 "@semantic-release/github": "7.0.3",
99 "@semantic-release/npm": "7.0.3",
100 "@semantic-release/release-notes-generator": "9.0.0",
101 "cli-ux": "5.4.4",
102 "commitizen": "4.0.3",
103 "cz-conventional-changelog": "3.1.x",
104 "esm": "^3.2.25",
105 "find-up": "^4.1.0",
106 "husky": "4.2.3",
107 "inquirer": "7.0.4",
108 "lint-staged": "10.0.7",
109 "rimraf": "3.0.2",
110 "rollup": "^2.47.0",
111 "rollup-plugin-terser": "^7.0.2",
112 "rollup-plugin-typescript2": "^0.30.0",
113 "semantic-release": "17.0.3",
114 "shelljs": "0.8.x",
115 "tslib": "^2.2.0"
116 },
117 "devDependencies": {
118 "@oclif/dev-cli": "1.22.2",
119 "@types/inquirer": "6.5.0",
120 "@types/jest": "25.1.2",
121 "@types/lodash": "4.14.149",
122 "@types/node": "13.7.1",
123 "@types/shelljs": "0.8.6",
124 "jest": "25.1.0",
125 "lodash": "4.x.x",
126 "ts-jest": "25.2.0",
127 "ts-node": "8.6.2",
128 "tslint-config-stoplight": "1.3.0",
129 "typescript": "3.7.5"
130 }
131}