-
Notifications
You must be signed in to change notification settings - Fork 62
/
package.json
98 lines (98 loc) · 3.41 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "slim-js",
"version": "5.0.10",
"description": "Superpower Web Components",
"type": "module",
"browser": "./dist/index.legacy.js",
"module": "./dist/index.js",
"files": [
"dist/**/*.js",
"dist/**/*.d.ts"
],
"esnext": "",
"exports": {
"./decorators": {
"require": "./dist/decorators.js",
"default": "./dist/decorators.js"
},
"./directives": {
"require": "./dist/directives/all.js",
"default": "./dist/directives/all.js"
},
"./repeat-directive": {
"require": "./dist/directives/repeat.directive.js",
"default": "./dist/directives/repeat.directive.js"
},
"./foreach-directive": {
"require": "./dist/directives/foreach.directive.js",
"default": "./dist/directives/foreach.directive.js"
},
"./attribute-directive": {
"require": "./dist/directives/attribute.directive.js",
"default": "./dist/directives/attribute.directive.js"
},
"./event-directive": {
"require": "./dist/directives/event.directive.js",
"default": "./dist/directives/event.directive.js"
},
"./if-directive": {
"require": "./dist/directives/if.directive.js",
"default": "./dist/directives/if.directive.js"
},
"./property-directive": {
"require": "./dist/directives/property.directive.js",
"default": "./dist/directives/property.directive.js"
},
"./ref-directive": {
"require": "./dist/directives/ref.directive.js",
"default": "./dist/directives/ref.directive.js"
},
"./non-minified": {
"require": "./dist/index.nonminified.js",
"default": "./dist/index.nonminified.js"
},
".": {
"require": "./dist/index.legacy.js",
"default": "./dist/index.js"
}
},
"scripts": {
"build:directives": "esbuild src/directives/*.directive.js --minify --outdir=dist/directives",
"build:alldirectives": "esbuild src/directives/all.directives.js --format=esm --bundle --external:../* --minify --outfile=dist/directives/all.js",
"build:module": "esbuild src/index.js --bundle --outfile=dist/index.js --format=esm --minify --sourcemap",
"build:nomodule": "esbuild src/index.js --bundle --outfile=dist/index.legacy.js --format=iife --minify --sourcemap",
"build:decorators": "esbuild src/decorators.js --bundle --outfile=dist/decorators.js --format=esm --minify",
"build:nominify": "esbuild src/index.js --bundle --outfile=dist/index.nonminified.js --format=esm",
"build:types": "tsc",
"prebuild": "rm -rf dist && npm run build:types",
"build": "npm run build:module && npm run build:nomodule && npm run build:decorators && npm run build:directives && npm run build:alldirectives && npm run build:nominify",
"test:wip": "jest --config ./jest.config.js",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/slimjs/slim.js.git"
},
"author": "Avichay Eyal <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/slimjs/slim.js/issues"
},
"homepage": "http://slimjs.com",
"keywords": [
"web",
"components"
],
"devDependencies": {
"@babel/core": "7.14.5",
"@babel/preset-env": "7.14.5",
"@babel/preset-typescript": "^7.14.5",
"@types/jest": "^26.0.23",
"@types/node": "15.12.2",
"typescript": "4.3.4",
"jest": "27.0.4",
"jest-environment-jsdom": "^27.3.1",
"esbuild": "0.12.9"
},
"dependencies": {}
}