-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.56 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 1.56 KB
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
{
"name": "di0",
"version": "1.3.0",
"description": "Dependency injection for ES6 classes",
"type": "module",
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/snatalenko/di0.git"
},
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"types": "./types/index.d.ts"
}
},
"directories": {
"test": "tests"
},
"scripts": {
"test:coverage": "jest --coverage",
"pretest:coveralls": "npm run test:coverage",
"test:coveralls": "cat ./coverage/lcov.info | coveralls",
"posttest:coveralls": "rm -rf ./coverage",
"test": "jest",
"changelog": "conventional-changelog -n ./scripts/changelog/index.cjs -i CHANGELOG.md -s",
"cleanup": "rm -rf ./dist ./types ./coverage",
"build:cjs": "tsc -p ./tsconfig.cjs.json && cp ./scripts/etc/cjs-package.json ./dist/cjs/package.json",
"build:esm": "tsc -p ./tsconfig.esm.json",
"build": "npm run build:esm && npm run build:cjs",
"prepare": "npm run build",
"preversion": "npm test",
"version": "./scripts/ci/cleanup_obsolete_tags.sh v$npm_package_version && npm run changelog && git add CHANGELOG.md"
},
"keywords": [
"dependency",
"injection",
"container",
"di",
"es6"
],
"author": "@snatalenko",
"license": "Apache-2.0",
"devDependencies": {
"@types/jest": "^30.0.0",
"conventional-changelog": "^3.1.25",
"coveralls": "^3.1.1",
"jest": "^29.7.0",
"ts-jest": "^29.4.6",
"typescript": "^5.9.2"
}
}