-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 1.67 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
{
"name": "tilesheets",
"version": "1.6.0",
"description": "A small library providing helpers to handle tile sheets.",
"main": "index.js",
"scripts": {
"dev": "parcel serve ./examples/index.html --out-dir docs",
"build": "parcel build ./examples/index.html --no-cache --public-url https://adrien-gueret.github.io/tilesheets/ --out-dir docs",
"build:lib": "parcel build ./index.ts --no-cache --public-url ./ --out-dir ./ --out-file tilesheets.min.js --global TilesheetsJS",
"npm": "tsc && build:lib",
"test": "jest --coverage",
"test:watch": "jest --coverage --watchAll"
},
"repository": {
"type": "git",
"url": "git+git@github.com:adrien-gueret/tilesheets.git"
},
"keywords": [
"tilesheet",
"tile",
"javascript"
],
"author": "Adrien Guéret",
"license": "ISC",
"bugs": {
"url": "https://github.com/adrien-gueret/tilesheets/issues"
},
"homepage": "https://github.com/adrien-gueret/tilesheets#readme",
"devDependencies": {
"@types/jest": "^26.0.3",
"jest": "^26.1.0",
"parcel-bundler": "^1.10.3",
"ts-jest": "^26.1.1",
"typescript": "^3.1.6"
},
"jest": {
"rootDir": "src",
"coverageDirectory": "../coverage",
"collectCoverageFrom": [
"**/*.ts"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testRegex": "/__tests__/.*.ts$",
"moduleFileExtensions": [
"ts",
"js"
],
"globals": {
"ts-jest": {
"diagnostics": false,
"tsConfig": "./tsconfig.test.json"
}
}
}
}