-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
64 lines (64 loc) · 2.83 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
{
"name": "donews",
"author": "toonew",
"scripts": {
"prepare": "husky install",
"build": "gulp build",
"prebuild:prod": "npm run clean",
"build:prod": "gulp build",
"build:samples": "npm run build:prod && gulp test:samples && gulp test:e2e:samples",
"clean": "gulp clean:bundle",
"format": "prettier \"**/*.ts\" --ignore-path ./.prettierignore --write && git status",
"test": "nyc --require ts-node/register mocha packages/**/*.spec.ts --reporter spec --retries 3 --require 'node_modules/reflect-metadata/Reflect.js' --exit",
"lint": "concurrently \"npm run lint:packages\" \"npm run lint:spec\"",
"lint:fix": "concurrently \"npm run lint:packages -- --fix\" \"npm run lint:spec -- --fix\"",
"lint:packages": "eslint \"packages/**/**.ts\" --ignore-pattern \"packages/**/*.spec.ts\"",
"lint:spec": "eslint \"packages/**/**.spec.ts\" -c \".eslintrc.spec.js\"",
"prerelease": "gulp copy-misc",
"publish": " npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --exact --force-publish -m \"chore(@donews): publish %s release\"",
"publish:beta": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --dist-tag=beta -m \"chore(@donews): publish %s release\"",
"publish:next": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --dist-tag=next --skip-git -m \"chore(@donews): publish %s release\"",
"publish:rc": " npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --dist-tag=rc -m \"chore(@donews): publish %s release\"",
"publish:test": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --dist-tag=test --skip-git --force-publish -m \"chore(@donews): publish %s release\""
},
"lint-staged": {
"packages/**/*.{ts,json}": [
"prettier --ignore-path ./.prettierignore --write"
]
},
"devDependencies": {
"@commitlint/cli": "19.6.1",
"@commitlint/config-angular": "19.7.0",
"@donews/eslint-config-donews": "1.0.3",
"@types/gulp": "4.0.17",
"@types/mocha": "10.0.10",
"@types/node": "22.10.5",
"@types/sinon": "17.0.3",
"@typescript-eslint/eslint-plugin": "8.19.1",
"@typescript-eslint/parser": "8.19.1",
"cli-color": "2.0.4",
"concurrently": "9.1.2",
"delete-empty": "3.0.0",
"eslint": "9.17.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.31.0",
"fancy-log": "2.0.0",
"gulp": "5.0.0",
"gulp-clean": "0.4.0",
"gulp-sourcemaps": "3.0.0",
"gulp-typescript": "5.0.1",
"husky": "9.1.7",
"lerna": "8.1.9",
"lint-staged": "15.3.0",
"mocha": "11.0.1",
"nyc": "17.1.0",
"prettier": "3.4.2",
"reflect-metadata": "0.2.2",
"sinon": "19.0.2",
"ts-node": "10.9.2",
"typescript": "5.7.3"
},
"publishConfig": {
"access": "public"
}
}