-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 1.8 KB
/
package.json
File metadata and controls
69 lines (69 loc) · 1.8 KB
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
{
"name": "smartphoto",
"version": "1.6.5",
"description": "smartphoto",
"homepage": "http://developer.a-blogcms.jp",
"main": "./lib/smartphoto.js",
"module": "./lib/smartphoto.mjs",
"types": "./index.d.ts",
"files": [
"lib",
"js",
"css",
"index.d.ts"
],
"exports": {
".": {
"types": "./index.d.ts",
"import": "./lib/smartphoto.mjs",
"require": "./lib/smartphoto.js"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"lint": "biome check --write ./src",
"lint:ci": "biome ci ./src",
"build:js": "npm-run-all -p build:lib build:jquery build:global",
"build:lib": "vite build --mode lib",
"build:jquery": "vite build --mode jquery",
"build:global": "vite build --mode umd",
"build:sass": "npm-run-all -p sass sass:min",
"clean:css": "rm -rf ./css/*",
"sass": "sass ./scss/smartphoto.scss ./css/smartphoto.css --style expanded",
"sass:min": "npm run clean:css && sass ./scss/smartphoto.scss ./css/smartphoto.min.css --style compressed --no-source-map",
"dev": "vite",
"preview": "vite preview",
"deploy": "np --no-cleanup",
"prepare": "husky"
},
"lint-staged": {
"./{src,test}/**/*.{js,jsx,ts,tsx}": [
"biome check --write"
]
},
"repository": {
"type": "git",
"url": "https://github.com/appleple/SmartPhoto/"
},
"author": "appleple",
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "2.1.3",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.4.2",
"husky": "^9.1.7",
"jsdom": "^24.0.0",
"lint-staged": "^16.1.2",
"npm-run-all": "^4.1.5",
"sass": "^1.89.2",
"vite": "^7.0.6",
"vitest": "^2.1.8"
},
"dependencies": {
"a-template": "^0.6.1"
}
}