-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
100 lines (100 loc) · 2.78 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "@rastrr-editor/core",
"version": "0.24.0",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/",
"global.d.ts"
],
"scripts": {
"dev": "cross-env NODE_ENV=development webpack --mode development",
"watch": "cross-env NODE_ENV=development webpack --mode development --watch",
"serve": "cross-env NODE_ENV=development webpack-dev-server --mode development",
"lint": "eslint .",
"test": "jest",
"check": "tsc --noEmit",
"build": "npm run clean && tsc -p ./tsconfig.lib.json && tsc-alias",
"build:watch": "npm run clean && tsc -p ./tsconfig.lib.json && (concurrently \"tsc -p ./tsconfig.lib.json -w\" \"tsc-alias -w\")",
"format:check": "prettier --check .",
"format": "prettier --write .",
"clean": "del-cli ./lib/*",
"prepare": "husky install && npm run build",
"preversion": "npm run lint && npm test",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rastrr-editor/core.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/rastrr-editor/core/issues"
},
"homepage": "https://github.com/rastrr-editor/core#readme",
"devDependencies": {
"@babel/core": "^7.20.5",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@types/debug": "4.1.7",
"@types/jest": "^29.2.4",
"@types/uniqid": "5.3.2",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.41.0",
"babel-loader": "^9.1.0",
"concurrently": "^7.6.0",
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"del-cli": "5.0.0",
"eslint": "^8.26.0",
"eslint-config-prettier": "^8.5.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.2",
"jest": "^29.3.1",
"lint-staged": "^13.1.0",
"prettier": "^2.8.0",
"ts-jest": "^29.0.3",
"tsc-alias": "^1.8.2",
"tsconfig-paths": "^4.1.0",
"typed-emitter": "^2.1.0",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.0",
"webpack-dev-server": "^4.11.1"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint"
],
"*.{css,scss,json,svg,js,cjs,html,md}": "prettier --write --ignore-unknown"
},
"dependencies": {
"debug": "4.3.4",
"eventemitter3": "^5.0.0",
"uniqid": "5.4.0"
},
"jest": {
"moduleNameMapper": {
"~/(.*)": "<rootDir>/src/$1"
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"collectCoverageFrom": [
"./src/**/*.ts"
]
}
}