-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 2.01 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
{
"name": "hydroactive",
"version": "0.1.6",
"type": "module",
"exports": {
".": "./src/index.js",
"./serializers.js": "./src/serializers.js",
"./signal-accessors.js": "./src/signal-accessors.js",
"./signals.js": "./src/signals.js",
"./testing.js": "./src/testing.js"
},
"sideEffects": false,
"scripts": {
"start": "npm run -s demo",
"build": "npm run -s clean && npm run -s build-lib",
"build-lib": "tsc --project tsconfig.lib.json && npm run -s build-package",
"build-package": "cp package.json README.md dist/",
"build-tests": "npm run -s clean && npm run -s build-tests-ts && npm run -s build-tests-html && npm run -s build-package",
"build-tests-ts": "tsc -p tsconfig.test.json",
"build-tests-html": "(cd src/ && find . -name '*.test.html' -exec cp --parents '{}' ../dist/src/ \\;)",
"demo": "npm run -s clean && npm run -s build-demo && http-server dist/src/demo/",
"build-demo": "npm run -s build-demo-ts && npm run -s build-demo-html && npm run -s build-demo-link-hydroactive && npm run -s build-demo-link-node_modules",
"build-demo-ts": "tsc --project tsconfig.demo.json",
"build-demo-html": "mkdir -p dist/src/demo/ && (cd src/demo/ && find . -name '*.html' -exec cp --parents '{}' ../../dist/src/demo/ \\;)",
"build-demo-link-hydroactive": "(cd dist/src/demo/ && ln -s ../ hydroactive)",
"build-demo-link-node_modules": "(cd dist/src/demo/ && ln -s ../../../node_modules)",
"test": "npm run -s clean && npm run -s build-tests && npm run -s wtr",
"test-debug": "npm run -s clean && npm run -s build-tests && npm run -s wtr-debug",
"wtr": "web-test-runner \"dist/**/*.test.html\" --puppeteer",
"wtr-debug": "npm run -s wtr -- --manual",
"clean": "rm -rf dist/"
},
"license": "MIT",
"devDependencies": {
"@11ty/is-land": "^4.0.0",
"@types/jasmine": "^4.3.1",
"@web/test-runner": "^0.15.3",
"@web/test-runner-puppeteer": "^0.16.0",
"http-server": "^14.1.1",
"jasmine-core": "^4.5.0",
"typescript": "^5.5.4"
}
}