-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
86 lines (86 loc) · 2.98 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
{
"name": "fatina",
"description": "Lighweight Tweening Library for web / games",
"version": "3.1.3",
"homepage": "https://kefniark.github.io/Fatina/",
"main": "dist/fatina.cjs.js",
"module": "./dist/fatina.esm.js",
"types": "./dist/fatina.cjs.d.ts",
"exports": {
"require": "./dist/fatina.cjs.js",
"import": "./dist/fatina.esm.js"
},
"repository": {
"type": "git",
"url": "[email protected]:kefniark/Fatina.git"
},
"bugs": {
"url": "https://github.com/kefniark/Fatina/issues"
},
"license": "MIT",
"keywords": [
"tween",
"tweener",
"tweening",
"easing",
"animation",
"sequence",
"typescript",
"game"
],
"author": {
"name": "Kevin destrem",
"email": "[email protected]"
},
"scripts": {
"dev": "run-p dev:*",
"dev:esbuild": "esbuild src/index.ts --bundle --minify --charset=utf8 --platform=browser --format=esm --outfile=dist/fatina.esm.js --watch",
"dev:http": "http-server . -p 1809",
"build": "rimraf dist && run-s build:*",
"build:commonjs": "esbuild src/index.ts --bundle --minify --charset=utf8 --platform=node --outfile=dist/fatina.cjs.js",
"build:esm": "esbuild src/index.ts --bundle --minify --charset=utf8 --platform=browser --format=esm --outfile=dist/fatina.esm.js",
"build:types": "run-s build:types:*",
"build:types:build": "tsc --emitDeclarationOnly --declaration --project tsconfig.json --outDir lib",
"build:types:move": "cp -R lib/src/* dist/ && mv dist/index.d.ts dist/fatina.cjs.d.ts && cp dist/fatina.cjs.d.ts dist/fatina.esm.d.ts",
"build:types:clean": "rimraf lib",
"build:version": "node tools/replace-version.js",
"lint": "eslint --ext .js,.ts --fix ./ && prettier --config .prettierrc --ignore-path .prettierignore --write \"**/*.{ts,js,md}\"",
"test": "run-s test:**",
"test:lint": "eslint --ext .js,.ts ./ && prettier --config .prettierrc --ignore-path .prettierignore --check \"**/*.{ts,js}\"",
"test:unittest": "ts-node node_modules/tape/bin/tape ./tests/**/*.ts | tspec",
"test:depencencies": "npm-check --production || echo \"Run 'npm run update' to interactively update dependencies for this project\"",
"coverage": "nyc --all --reporter=html --reporter=text npm run test:unittest",
"coveralls": "nyc --all --reporter=text-lcov npm run test:unittest | coveralls"
},
"devDependencies": {
"@types/node": "^18.0.0",
"@types/tape": "^4.13.2",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"coveralls": "^3.1.1",
"esbuild": "^0.14.12",
"eslint": "^8.7.0",
"npm-check": "^5.9.2",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.5.1",
"replace-in-file": "^6.3.2",
"rimraf": "^3.0.2",
"tap-spec": "^5.0.0",
"tape": "^5.3.1",
"ts-node": "^10.2.1",
"typescript": "^4.3.5"
},
"nyc": {
"include": [
"src/**/*.ts"
],
"exclude": [
"src/index.ts",
"src/fatina.ts"
],
"extension": [
".ts"
]
}
}