-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
62 lines (62 loc) · 1.93 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
54
55
56
57
58
59
60
61
62
{
"name": "@leanup/form",
"version": "2.0.0-rc.84",
"description": "This module contains useful features for handling forms.",
"author": "Martin Oppitz <npmjs@martinoppitz.com>",
"homepage": "https://github.com/leanupjs/form#readme",
"license": "Apache-2.0",
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "types/index.d.ts",
"exports": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/leanupjs/leanup.git"
},
"bugs": {
"url": "https://github.com/leanupjs/leanup/issues"
},
"dependencies": {
"@leanup/lib": "2.0.0-rc.84"
},
"devDependencies": {
"@types/chai": "4.3.5",
"@types/mocha": "9.1.1",
"@types/node": "18.16.3",
"@types/sinon": "10.0.14",
"chai": "4.3.7",
"cross-env": "7.0.3",
"esbuild": "0.17.18",
"esbuild-register": "3.4.2",
"jsdom": "20.0.3",
"jsdom-global": "3.0.2",
"mocha": "10.2.0",
"mock-local-storage": "1.1.23",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"sinon": "14.0.2",
"typescript": "4.8.4"
},
"scripts": {
"build:cjs": "tsc -m commonjs --outDir cjs -p tsconfig.build.json",
"build:esm": "tsc -m esnext --outDir esm -p tsconfig.build.json",
"build:types": "tsc -d --outDir types -p tsconfig.build.json && rimraf types/*.js types/*.map types/**/*.js types/**/*.map",
"build:umd": "tsc -m umd --outDir umd -p tsconfig.build.json",
"build:cleanup": "rimraf cjs esm types umd",
"build": "npm run build:cleanup && npm run build:cjs && npm run build:esm && npm run build:types && npm run build:umd",
"test": "npx cross-env NODE_ENV=test nyc --check-coverage mocha",
"prepack": "npm test && npm run build",
"remove": "rimraf node_modules",
"reinstall": "npm run remove && npm run update",
"update": "npm install && npm update && npm outdated"
},
"files": [
"cjs",
"esm",
"types",
"umd"
]
}