Skip to content

Commit b973aa1

Browse files
committed
set up release post install
1 parent 72a4a3d commit b973aa1

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

package.json

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -42,26 +42,32 @@
4242
"types/index.d.ts"
4343
],
4444
"scripts": {
45-
"clean": "rimraf ./dist ./test/generated ./test/e2e/generated ./samples/generated ./coverage ./node_modules/.cache",
46-
"build": "rollup --config --environment NODE_ENV:development",
4745
"build:watch": "rollup --config --environment NODE_ENV:development --watch",
46+
"build": "rollup --config --environment NODE_ENV:development",
47+
"clean": "rimraf ./dist ./test/generated ./test/e2e/generated ./samples/generated ./coverage ./node_modules/.cache",
48+
"codecov": "codecov --token=66c30c23-8954-4892-bef9-fbaed0a2e42b",
49+
"docker": "docker build -t eeelenbaas/openapi-typescript-codegen .",
50+
"eslint:fix": "eslint . --fix",
51+
"eslint": "eslint .",
52+
"postinstall": "npm run clean && npm run release",
53+
"prepare": "npm run clean && npm run release",
4854
"release": "rollup --config --environment NODE_ENV:production",
49-
"validate": "tsc --project tsconfig.json --noEmit",
5055
"run": "node ./test/index.js",
51-
"test": "jest --selectProjects UNIT",
52-
"test:update": "jest --selectProjects UNIT --updateSnapshot",
53-
"test:watch": "jest --selectProjects UNIT --watch",
5456
"test:coverage": "jest --selectProjects UNIT --coverage",
5557
"test:e2e": "jest --selectProjects E2E --runInBand --verbose",
56-
"eslint": "eslint .",
57-
"eslint:fix": "eslint . --fix",
58-
"prepare": "npm run clean && npm run release",
59-
"codecov": "codecov --token=66c30c23-8954-4892-bef9-fbaed0a2e42b",
60-
"docker": "docker build -t eeelenbaas/openapi-typescript-codegen ."
58+
"test:update": "jest --selectProjects UNIT --updateSnapshot",
59+
"test:watch": "jest --selectProjects UNIT --watch",
60+
"test": "jest --selectProjects UNIT",
61+
"validate": "tsc --project tsconfig.json --noEmit"
6162
},
6263
"dependencies": {
64+
"@rollup/plugin-commonjs": "25.0.4",
65+
"@rollup/plugin-node-resolve": "15.2.1",
66+
"@rollup/plugin-typescript": "11.1.4",
6367
"camelcase": "^6.3.0",
6468
"commander": "^11.0.0",
69+
"rollup-plugin-terser": "7.0.2",
70+
"rollup": "3.26.1",
6571
"fs-extra": "^11.1.1",
6672
"handlebars": "^4.7.7",
6773
"json-schema-ref-parser": "^9.0.9"
@@ -82,9 +88,6 @@
8288
"@babel/core": "7.23.0",
8389
"@babel/preset-env": "7.22.20",
8490
"@babel/preset-typescript": "7.23.0",
85-
"@rollup/plugin-commonjs": "25.0.4",
86-
"@rollup/plugin-node-resolve": "15.2.1",
87-
"@rollup/plugin-typescript": "11.1.4",
8891
"@types/cross-spawn": "6.0.3",
8992
"@types/express": "4.17.18",
9093
"@types/fs-extra": "^11.0.1",
@@ -113,8 +116,6 @@
113116
"puppeteer": "20.9.0",
114117
"qs": "6.11.2",
115118
"rimraf": "5.0.5",
116-
"rollup": "3.26.1",
117-
"rollup-plugin-terser": "7.0.2",
118119
"rxjs": "7.8.1",
119120
"ts-node": "10.9.1",
120121
"tslib": "2.6.2",

0 commit comments

Comments
 (0)