1 | {
|
2 | "name": "@leanup/lib",
|
3 | "version": "2.0.0-rc.66",
|
4 | "description": "This module is a collection of lightweight application features.",
|
5 | "author": "Martin Oppitz <npesm@martinoppitz.com>",
|
6 | "homepage": "https://leanupjs.org",
|
7 | "license": "Apache-2.0",
|
8 | "main": "cjs/index.js",
|
9 | "module": "esm/index.js",
|
10 | "types": "types/index.d.ts",
|
11 | "exports": {
|
12 | "require": "./cjs/index.js",
|
13 | "import": "./esm/index.js"
|
14 | },
|
15 | "repository": {
|
16 | "type": "git",
|
17 | "url": "git+https://github.com/leanupjs/leanup.git"
|
18 | },
|
19 | "bugs": {
|
20 | "url": "https://github.com/leanupjs/leanup/issues"
|
21 | },
|
22 | "dependencies": {
|
23 | "loglevel": "1.8.0",
|
24 | "tslib": "2.4.0"
|
25 | },
|
26 | "devDependencies": {
|
27 | "@types/chai": "4.3.3",
|
28 | "@types/loglevel": "1.6.3",
|
29 | "@types/mocha": "9.1.1",
|
30 | "@types/node": "18.6.5",
|
31 | "@types/sinon": "10.0.13",
|
32 | "chai": "4.3.6",
|
33 | "cross-env": "7.0.3",
|
34 | "esbuild": "0.14.54",
|
35 | "esbuild-register": "3.3.3",
|
36 | "inferno": "8.0.2",
|
37 | "jsdom": "20.0.0",
|
38 | "jsdom-global": "3.0.2",
|
39 | "mocha": "10.0.0",
|
40 | "mock-local-storage": "1.1.23",
|
41 | "nyc": "15.1.0",
|
42 | "preact": "10.10.1",
|
43 | "react": "18.2.0",
|
44 | "sinon": "14.0.0",
|
45 | "typescript": "4.7.4"
|
46 | },
|
47 | "scripts": {
|
48 | "build:cjs": "tsc -m commonjs --outDir cjs -p tsconfig.build.json",
|
49 | "build:esm": "tsc -m esnext --outDir esm -p tsconfig.build.json",
|
50 | "build:types": "tsc -d --outDir types -p tsconfig.build.json && rm -rf types/*.js types/*.map types/**/*.js types/**/*.map",
|
51 | "build:umd": "tsc -m umd --outDir umd -p tsconfig.build.json",
|
52 | "build:cleanup": "rm -rf cjs esm types umd",
|
53 | "build": "npm run build:cleanup && npm run build:cjs && npm run build:esm && npm run build:types && npm run build:umd",
|
54 | "test": "npx cross-env NODE_ENV=test nyc --check-coverage mocha",
|
55 | "prepack": "npm test && npm run build",
|
56 | "remove": "rm -rf node_modules",
|
57 | "reinstall": "npm run remove && npm run update",
|
58 | "update": "npm install && npm update && npm outdated"
|
59 | },
|
60 | "files": [
|
61 | "cjs",
|
62 | "esm",
|
63 | "types",
|
64 | "umd"
|
65 | ]
|
66 | }
|