-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.23 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
{
"name": "@flamov/simple-canvas-manager",
"version": "0.0.0",
"description": "A simple 2D canvas manager",
"main": "src/index.js",
"scripts": {
"build": "parcel build ./src/SimpleCanvasManager.ts -d ./dist --target browser",
"watch": "parcel watch ./src/SimpleCanvasManager.ts -d ./dist --target browser --no-hmr",
"test": "npm run test:eslint && npm run test:typescript && npm run test:unit",
"test:eslint": "eslint src/",
"test:typescript": "tsc",
"test:typescript:watch": "tsc -- --watch",
"test:unit": "jest .*.spec.ts",
"test:unit:watch": "npm run test:unit -- --watch",
"test:unit:coverage": "npm run test:unit -- --coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Flamov/simple-canvas-manager.git"
},
"keywords": [
"canvas",
"2d",
"manager",
"simple"
],
"author": "Flamov",
"license": "MIT",
"bugs": {
"url": "https://github.com/Flamov/simple-canvas-manager/issues"
},
"homepage": "https://github.com/Flamov/simple-canvas-manager#readme",
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@babel/preset-typescript": "^7.9.0",
"@types/jest": "^25.2.3",
"@typescript-eslint/eslint-plugin": "^3.0.1",
"@typescript-eslint/parser": "^3.0.1",
"canvas": "^2.6.1",
"eslint": "^7.1.0",
"eslint-config-airbnb-typescript": "^7.2.1",
"eslint-plugin-import": "^2.20.2",
"jest": "^26.0.1",
"parcel-bundler": "^1.12.4",
"typescript": "^3.9.3"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"airbnb-typescript/base"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"env": {
"jest": true
},
"rules": {
"import/no-cycle": 0,
"@typescript-eslint/camelcase": 0
}
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
],
"@babel/preset-typescript"
]
},
"jest": {
"verbose": true,
"collectCoverageFrom": [
"src/**/*.ts"
],
"coveragePathIgnorePatterns": [
"node_modules",
"dist/"
]
}
}