1 | {
|
2 | "name": "ficusjs",
|
3 | "version": "6.3.0",
|
4 | "description": "FicusJS is a set of lightweight functions for developing applications using web components",
|
5 | "type": "module",
|
6 | "main": "dist/index.mjs",
|
7 | "module": "dist/index.mjs",
|
8 | "types": "types/index.d.ts",
|
9 | "sideEffects": false,
|
10 | "scripts": {
|
11 | "build": "run-p build:*",
|
12 | "build:all": "rollup -i src/index.mjs -o dist/index.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
13 | "build:custom-element": "rollup -i src/custom-element.mjs -o dist/custom-element.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
14 | "build:component": "rollup -i src/component.mjs -o dist/component.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
15 | "build:event-bus": "rollup -i src/event-bus.mjs -o dist/event-bus.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
16 | "build:extension-builder": "rollup -i src/extension-builder.mjs -o dist/extension-builder.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
17 | "build:i18n": "rollup -i src/i18n.mjs -o dist/i18n.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
18 | "build:app-state": "rollup -i src/app-state.mjs -o dist/app-state.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
19 | "build:store": "rollup -i src/store.mjs -o dist/store.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
20 | "build:with-event-bus": "rollup -i src/with-event-bus.mjs -o dist/with-event-bus.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
21 | "build:with-i18n": "rollup -i src/with-i18n.mjs -o dist/with-i18n.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
22 | "build:with-state-transactions": "rollup -i src/with-state-transactions.mjs -o dist/with-state-transactions.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
23 | "build:with-styles": "rollup -i src/with-styles.mjs -o dist/with-styles.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
24 | "build:with-store": "rollup -i src/with-store.mjs -o dist/with-store.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
25 | "build:with-worker-store": "rollup -i src/with-worker-store.mjs -o dist/with-worker-store.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
26 | "build:with-lazy-render": "rollup -i src/with-lazy-render.mjs -o dist/with-lazy-render.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
27 | "build:with-breakpoint-render": "rollup -i src/with-breakpoint-render.mjs -o dist/with-breakpoint-render.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
28 | "build:with-local-state": "rollup -i src/with-local-state.mjs -o dist/with-local-state.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
29 | "build:with-state-machine": "rollup -i src/with-state-machine.mjs -o dist/with-state-machine.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
30 | "build:with-xstate-service": "rollup -i src/with-xstate-service.mjs -o dist/with-xstate-service.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
31 | "build:xstate-service": "rollup -i src/xstate-service.mjs -o dist/xstate-service.mjs -f es -p \"terser={mangle: { keep_fnames: true, toplevel: true, module: true }}\" -p \"filesize={}\"",
|
32 | "cy:open": "cypress open",
|
33 | "cy:run": "cypress run",
|
34 | "dev": "run-p serve open",
|
35 | "open": "open-cli http://localhost:8080/test/e2e",
|
36 | "test": "npm run test:unit && start-server-and-test serve:silent http://localhost:8080 cy:run",
|
37 | "test:unit": "ava test/unit/**/*.spec.mjs",
|
38 | "test:unit:watch": "ava test/unit/**/*.spec.mjs --watch",
|
39 | "test:unit:coverage": "c8 --all --include=src/**/*.mjs --reporter=lcov --reporter=text-summary ava test/unit/**/*.spec.mjs --verbose",
|
40 | "serve": "http-server",
|
41 | "serve:silent": "http-server -s"
|
42 | },
|
43 | "repository": {
|
44 | "type": "git",
|
45 | "url": "git+https://github.com/ficusjs/ficusjs.git"
|
46 | },
|
47 | "keywords": [
|
48 | "ficusjs",
|
49 | "frontend",
|
50 | "web-components"
|
51 | ],
|
52 | "author": "Matt Levy",
|
53 | "license": "MIT",
|
54 | "bugs": {
|
55 | "url": "https://github.com/ficusjs/ficusjs/issues"
|
56 | },
|
57 | "homepage": "https://docs.ficusjs.org",
|
58 | "dependencies": {
|
59 | "@ficusjs/core": "3.1.2",
|
60 | "@ficusjs/component-extensions": "2.0.1",
|
61 | "@ficusjs/event-bus": "1.3.2",
|
62 | "@ficusjs/i18n": "1.2.2",
|
63 | "@ficusjs/renderers": "5.7.0",
|
64 | "@ficusjs/state": "4.1.2"
|
65 | },
|
66 | "devDependencies": {
|
67 | "@ficusjs/core": "3.1.2",
|
68 | "@ficusjs/component-extensions": "2.0.1",
|
69 | "@ficusjs/event-bus": "1.3.2",
|
70 | "@ficusjs/i18n": "1.2.2",
|
71 | "@ficusjs/renderers": "5.7.0",
|
72 | "@ficusjs/state": "4.1.2",
|
73 | "ava": "5.2.0",
|
74 | "c8": "7.12.0",
|
75 | "cypress": "12.5.1",
|
76 | "http-server": "14.1.1",
|
77 | "jsdom": "21.1.0",
|
78 | "node-sessionstorage": "1.0.0",
|
79 | "npm-run-all": "4.1.5",
|
80 | "open-cli": "7.1.0",
|
81 | "rollup": "3.15.0",
|
82 | "rollup-plugin-filesize": "9.1.2",
|
83 | "rollup-plugin-terser": "7.0.2",
|
84 | "sinon": "15.0.1",
|
85 | "standard": "16.0.4",
|
86 | "start-server-and-test": "1.15.3"
|
87 | },
|
88 | "exports": {
|
89 | ".": {
|
90 | "import": "./dist/index.mjs"
|
91 | },
|
92 | "./custom-element": {
|
93 | "import": "./dist/custom-element.mjs"
|
94 | },
|
95 | "./component": {
|
96 | "import": "./dist/component.mjs"
|
97 | },
|
98 | "./with-local-state": {
|
99 | "import": "./dist/with-local-state.mjs"
|
100 | },
|
101 | "./event-bus": {
|
102 | "import": "./dist/event-bus.mjs"
|
103 | },
|
104 | "./extension-builder": {
|
105 | "import": "./dist/extension-builder.mjs"
|
106 | },
|
107 | "./i18n": {
|
108 | "import": "./dist/i18n.mjs"
|
109 | },
|
110 | "./app-state": {
|
111 | "import": "./dist/app-state.mjs"
|
112 | },
|
113 | "./store": {
|
114 | "import": "./dist/store.mjs"
|
115 | },
|
116 | "./with-event-bus": {
|
117 | "import": "./dist/with-event-bus.mjs"
|
118 | },
|
119 | "./with-i18n": {
|
120 | "import": "./dist/with-i18n.mjs"
|
121 | },
|
122 | "./with-i18n-reactive": {
|
123 | "import": "./dist/with-i18n.mjs"
|
124 | },
|
125 | "./with-store": {
|
126 | "import": "./dist/with-store.mjs"
|
127 | },
|
128 | "./with-worker-store": {
|
129 | "import": "./dist/with-worker-store.mjs"
|
130 | },
|
131 | "./with-styles": {
|
132 | "import": "./dist/with-styles.mjs"
|
133 | },
|
134 | "./with-lazy-render": {
|
135 | "import": "./dist/with-lazy-render.mjs"
|
136 | },
|
137 | "./with-breakpoint-render": {
|
138 | "import": "./dist/with-breakpoint-render.mjs"
|
139 | },
|
140 | "./with-state-transactions": {
|
141 | "import": "./dist/with-state-transactions.mjs"
|
142 | },
|
143 | "./with-state-machine": {
|
144 | "import": "./dist/with-state-machine.mjs"
|
145 | },
|
146 | "./with-xstate-service": {
|
147 | "import": "./dist/with-xstate-service.mjs"
|
148 | },
|
149 | "./xstate-service": {
|
150 | "import": "./dist/xstate-service.mjs"
|
151 | }
|
152 | },
|
153 | "standard": {
|
154 | "ignore": [
|
155 | "*.ts"
|
156 | ]
|
157 | }
|
158 | }
|