@semigarden/synthetic-md 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +6546 -0
- package/dist/index.css +371 -0
- package/dist/index.d.cts +28 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.esm.js +6517 -0
- package/package.json +61 -0
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@semigarden/synthetic-md",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Synthetic Markdown",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "semigarden",
|
|
8
|
+
"url": "https://github.com/semigarden"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/semigarden/synthetic-md.git",
|
|
13
|
+
"directory": "synthetic-md/core"
|
|
14
|
+
},
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/semigarden/synthetic-md/issues"
|
|
17
|
+
},
|
|
18
|
+
"homepage": "https://github.com/semigarden/synthetic-md#readme",
|
|
19
|
+
"type": "module",
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public"
|
|
22
|
+
},
|
|
23
|
+
"main": "./dist/index.cjs.js",
|
|
24
|
+
"module": "./dist/index.esm.js",
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"import": "./dist/index.esm.js",
|
|
30
|
+
"require": "./dist/index.cjs.js"
|
|
31
|
+
},
|
|
32
|
+
"./style.css": "./dist/index.css"
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"dist"
|
|
36
|
+
],
|
|
37
|
+
"sideEffects": false,
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build:css": "sass styles/element.scss styles/element.css --no-source-map",
|
|
40
|
+
"build:distcss": "node -e \"require('fs').copyFileSync('styles/element.css','dist/index.css')\"",
|
|
41
|
+
|
|
42
|
+
"build": "npm run build:css && tsup && npm run build:distcss",
|
|
43
|
+
|
|
44
|
+
"watch:css": "sass styles/element.scss styles/element.css --no-source-map --watch",
|
|
45
|
+
"watch:distcss": "node -e \"const fs=require('fs'); const src='styles/element.css'; const dst='dist/index.css'; const copy=()=>{fs.mkdirSync('dist',{recursive:true}); fs.copyFileSync(src,dst); console.log('[css] copied ->',dst)}; copy(); fs.watchFile(src,{interval:200},copy);\"",
|
|
46
|
+
|
|
47
|
+
"dev": "concurrently -n TSUP,CSS,COPY \"tsup index.ts --watch --clean=false\" \"npm:watch:css\" \"npm:watch:distcss\"",
|
|
48
|
+
|
|
49
|
+
"lint": "eslint .",
|
|
50
|
+
"test": "vitest",
|
|
51
|
+
"prepublishOnly": "npm run build"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"concurrently": "^9.2.1",
|
|
55
|
+
"eslint": "^9.0.0",
|
|
56
|
+
"sass": "^1.97.3",
|
|
57
|
+
"tsup": "^8.0.0",
|
|
58
|
+
"typescript": "^5.3.0",
|
|
59
|
+
"vitest": "^4.0.18"
|
|
60
|
+
}
|
|
61
|
+
}
|