-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
53 lines (53 loc) · 2.19 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
{
"name": "@locomotivemtl/grid-helper",
"version": "1.0.0",
"description": "Creates an overlay grid for web development, allowing designers and developers to visualize the grid structure based on design guidelines.",
"repository": {
"type": "git",
"url": "git+https://github.com/locomotivemtl/front-end-helpers.git"
},
"author": "Locomotive Inc.",
"license": "MIT",
"bugs": {
"url": "https://github.com/locomotivemtl/front-end-helpers/issues"
},
"engines": {
"node": ">=20"
},
"type": "module",
"source": "index.ts",
"main": "dist/grid-helper.js",
"umd:main": "dist/grid-helper.umd.js",
"module": "dist/grid-helper.mjs",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/grid-helper.js",
"default": "./dist/grid-helper.modern.mjs"
},
"./dist/*": "./dist/*"
},
"scripts": {
"clean": "rimraf dist bundled",
"build": "npm run clean && npm-run-all --parallel build:dist build:bundle build:types",
"build:types": "tsc --allowJs -d --emitDeclarationOnly --declarationDir ./dist/types --removeComments ./index.ts",
"build:dist": "microbundle build -i index.ts --o ./dist",
"build:bundle": "npm-run-all build:bundle-full build:bundle-min",
"build:bundle-full": "microbundle build -i index.ts --o ./bundled/grid-helper.js --no-sourcemap --no-pkg-main --external none --name GridHelper --format umd --no-compress",
"build:bundle-min": "microbundle build -i index.ts --o ./bundled/grid-helper.min.js --no-sourcemap --no-pkg-main --external none --name GridHelper --format umd",
"watch": "microbundle watch -i index.ts --o ./dist --no-compress",
"publish:beta": "npm publish --tag beta",
"format": "prettier --write \"./**/*.{astro,js,ts,css,scss}\""
},
"files": [
"dist",
"bundled"
],
"homepage": "https://github.com/locomotivemtl/front-end-helpers/tree/main/packages/grid-helper",
"devDependencies": {
"microbundle": "^0.15.1",
"npm-run-all": "^4.1.5",
"rimraf": "^6.0.1"
}
}