-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
85 lines (85 loc) · 2.17 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
79
80
81
82
83
84
85
{
"name": "@opensumi/di",
"version": "2.1.0",
"description": "A dependency injection tool for Javascript.",
"license": "MIT",
"module": "esm/index.js",
"main": "lib/index.js",
"types": "types/index.d.ts",
"scripts": {
"prepare": "husky install",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"build": "npm run build:lib && npm run build:esm",
"build:lib": "rm -rf lib && tsc -p tsconfig.lib.json",
"build:esm": "rm -rf esm && tsc -p tsconfig.esm.json",
"test": "jest --coverage tests/**",
"test:watch": "yarn test --watch",
"ci": "npm run lint && npm run test",
"prepublishOnly": "npm run build",
"prerelease": "npm run lint && npm run test && npm run build",
"release": "commit-and-tag-version --npmPublishHint 'echo Just Push code to remote repo, npm publish will be done by CI.'",
"release:beta": "npm run release -- --prerelease beta"
},
"devDependencies": {
"@commitlint/cli": "17.2.0",
"@commitlint/config-conventional": "17.2.0",
"@types/jest": "29.2.2",
"@types/node": "18.11.9",
"@typescript-eslint/eslint-plugin": "5.42.1",
"@typescript-eslint/parser": "5.42.1",
"commit-and-tag-version": "^11.2.3",
"commitlint": "17.2.0",
"eslint": "8.27.0",
"eslint-config-prettier": "8.5.0",
"husky": "8.0.2",
"jest": "29.3.0",
"lint-staged": "13.0.3",
"prettier": "2.7.1",
"reflect-metadata": "^0.1.13",
"ts-jest": "29.0.3",
"typescript": "4.8.4"
},
"repository": {
"type": "git",
"url": "git@github.com:opensumi/di.git"
},
"engines": {
"node": ">=8.0.0"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"keywords": [
"di",
"injector"
],
"files": [
"esm",
"types",
"lib"
],
"standard-version": {
"bumpFiles": [
{
"filename": "./src/constants.ts",
"updater": "./scripts/versionUpdater.js"
},
{
"filename": "package.json",
"type": "json"
}
]
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}