You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.6 KiB
65 lines
1.6 KiB
{
|
|
"name": "@shadryx/pptk",
|
|
"version": "0.1.7",
|
|
"description": "Pixel-Perfect ToolKit, a library to help make pixel-perfect applications on high-DPI devices",
|
|
"keywords": [
|
|
"pixel-perfect",
|
|
"canvas",
|
|
"dpi",
|
|
"high-dpi"
|
|
],
|
|
"author": "Shad Amethyst",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"main": "./dist/index.cjs",
|
|
"module": "./dist/index.js",
|
|
"types": "dist/types/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/types/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/types/index.d.ts",
|
|
"default": "./dist/index.cjs"
|
|
}
|
|
},
|
|
"./solid": {
|
|
"import": {
|
|
"types": "./dist/types/solid/index.d.ts",
|
|
"default": "./dist/solid.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/types/solid/index.d.ts",
|
|
"default": "./dist/solid.cjs"
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"prepare-dev": "tsc src/index.js --declaration --allowJs --emitDeclarationOnly",
|
|
"dev:solid": "vite dev test/solid",
|
|
"dev:vanilla": "vite dev test/vanilla",
|
|
"build": "npm run prepare-dev && vite build && tsc && cp src/index.d.ts dist/types/index.d.ts",
|
|
"clean": "rm -rf dist/ src/index.d.ts",
|
|
"publish": "npm i && npm run build && npm publish --access public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.shadamethyst.xyz/adri326/pptk"
|
|
},
|
|
"devDependencies": {
|
|
"solid-js": "^1.6.2",
|
|
"tslib": "^2.4.1",
|
|
"typescript": "^4.9.0",
|
|
"vite": "^3.0.9",
|
|
"vite-plugin-solid": "^2.3.0"
|
|
},
|
|
"peerDependencies": {
|
|
"solid-js": "^1.6.2"
|
|
}
|
|
}
|