-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.88 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
{
"name": "@widatama/js-imageprojection",
"version": "0.1.1",
"description": "Image projection in browser with vanilla javascript. It works by using two similar images for the original and the projected image. [See the demo](http:https://widatama.github.io/js-imageprojection)",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build:bundle": "esbuild src/index.ts --bundle --format=esm --target=es2020 --outfile=dist/index.js",
"build:clean": "rimraf dist",
"build:types": "tsc --outDir dist",
"build": "npm run build:clean && npm run build:bundle && npm run build:types",
"build:preview": "esbuild preview/javascript/app.ts --bundle --outdir=preview/javascript --format=iife --target=es2020",
"start": "esbuild preview/javascript/app.ts --bundle --outdir=preview/javascript --servedir=preview --serve=9999 --format=iife --target=es2020",
"test": "karma start ./karma.conf.ts"
},
"author": "Danu Widatama",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/widatama/js-imageprojection.git"
},
"license": "MIT",
"lint-staged": {
"*.ts": [
"eslint --fix"
]
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"devDependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
"@types/node": "^20.11.26",
"@types/tape": "^5.6.4",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"esbuild": "^0.20.1",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"karma": "^6.4.3",
"karma-esbuild": "^2.3.0",
"karma-firefox-launcher": "^2.1.3",
"karma-tap": "^4.2.0",
"karma-tap-pretty-reporter": "^4.2.0",
"lint-staged": "^15.2.2",
"rimraf": "^5.0.5",
"tape": "^5.7.5",
"ts-node": "^10.9.2",
"typescript": "^5.4.2"
}
}