mirror of
https://github.com/slidevjs/rough-notation.git
synced 2026-01-14 17:44:21 +01:00
feat: improve build tools, expose types
This commit is contained in:
29
package.json
29
package.json
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"name": "rough-notation",
|
||||
"version": "0.5.1",
|
||||
"name": "@slidev/rough-notation",
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"description": "Create and animate hand-drawn annotations on a web page",
|
||||
"main": "lib/rough-notation.cjs.js",
|
||||
"module": "lib/rough-notation.esm.js",
|
||||
"types": "lib/rough-notation.d.ts",
|
||||
"main": "dist/index.mjs",
|
||||
"module": "dist/index.cjs",
|
||||
"types": "dist/index.d.mts",
|
||||
"scripts": {
|
||||
"build": "rm -rf lib && tsc && rollup -c",
|
||||
"lint": "tslint -p tsconfig.json",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"build": "unbuild",
|
||||
"lint": "tslint -p tsconfig.json"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -19,18 +19,21 @@
|
||||
"rough",
|
||||
"sketchy"
|
||||
],
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"author": "Preet Shihn",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/pshihn/rough-notation/issues"
|
||||
},
|
||||
"homepage": "https://github.com/pshihn/rough-notation#readme",
|
||||
"dependencies": {
|
||||
"roughjs": "^4.6.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"rollup": "^2.32.1",
|
||||
"rollup-plugin-node-resolve": "^5.2.0",
|
||||
"rollup-plugin-terser": "^6.1.0",
|
||||
"roughjs": "^4.3.1",
|
||||
"tslint": "^6.1.3",
|
||||
"typescript": "^4.0.5"
|
||||
"typescript": "^5.3.3",
|
||||
"unbuild": "^2.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user