-
-
Notifications
You must be signed in to change notification settings - Fork 127
/
package.json
74 lines (74 loc) · 3.9 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
{
"name": "piral",
"private": true,
"workspaces": [
"src/converters/*",
"src/framework/*",
"src/initializers/*",
"src/pages/*",
"src/plugins/*",
"src/samples/*",
"src/tooling/*",
"src/utilities/*"
],
"scripts": {
"bootstrap": "lerna clean --yes && yarn install",
"setup": "yarn install",
"build": "lerna run build",
"build:docs": "lerna run build:docs --stream",
"watch:docs": "lerna run watch:docs --stream",
"build:page": "piral build src/pages/www/src/index.html --target dist/www/index.html --type release",
"watch:page": "piral debug src/pages/www/src/index.html",
"watch:siteless": "piral debug src/framework/siteless/src/index.html",
"build:siteless": "piral build src/framework/siteless/src/index.html --target dist/siteless/index.html --type release && cp dist/siteless/release/*.js src/framework/siteless/siteless.min.js && piral build src/framework/siteless/src/index.html --target dist/siteless/index.html --type emulator",
"watch:demo-cross": "piral debug src/samples/sample-cross-fx/src/index.html",
"build:demo-cross": "piral build src/samples/sample-cross-fx/src/index.html --target dist/demo-cross/index.html",
"watch:demo-core": "piral debug src/samples/sample-piral-core/src/index.html",
"build:demo-core": "piral build src/samples/sample-piral-core/src/index.html --target dist/demo-core/index.html --type release",
"watch:demo-full": "piral debug src/samples/sample-piral/src/index.html",
"build:demo-full": "piral build src/samples/sample-piral/src/index.html --target dist/demo-full/index.html",
"watch:demo-minimal": "piral debug src/samples/minimal-piral/src/index.html",
"build:demo-minimal": "piral build src/samples/minimal-piral/src/index.html --target dist/demo-minimal/index.html",
"watch:demo-empty": "piral debug src/samples/empty-piral/src/index.html",
"build:demo-empty": "piral build src/samples/empty-piral/src/index.html --target dist/demo-empty/index.html",
"lint": "tslint -c tslint.json 'src/**/*.{ts,tsx}' --project tsconfig.json",
"prettify": "prettier --config prettier.config.js --write \"src/**/*.{ts,tsx}\"",
"cleanup": "lerna run cleanup",
"test": "vitest run",
"prepublish": "yarn build",
"release": "lerna publish",
"docgen:codes": "node tools/generate-message-docs.js",
"docgen:cli": "node tools/generate-command-docs.js",
"docgen:types": "lerna run typedoc",
"docgen": "yarn docgen:cli && yarn docgen:codes && yarn docgen:types",
"ci:version": "node tools/changelog-version.js",
"ci:version-update": "yarn ci:version --update && git add CHANGELOG.md && git commit -m UpdateReleaseDate",
"ci:copy-docs": "cp -r ./dist/docs/release ./dist/docs/tmp && mv ./dist/docs/tmp ./dist/docs/release/$(yarn --silent ci:version)",
"ci:docs": "yarn docgen && yarn build:docs && yarn ci:copy-docs && git checkout -- .",
"ci:canary": "lerna publish $(yarn --silent ci:version)-alpha.$BUILD_BUILDID --exact --yes --force-publish --no-git-tag-version --no-push --dist-tag canary && git checkout -- .",
"ci:prerelease": "lerna publish $(yarn --silent ci:version)-beta.$BUILD_BUILDID --exact --yes --force-publish --no-git-tag-version --no-push --dist-tag next && git checkout -- .",
"ci:release": "lerna publish $(yarn --silent ci:version) --yes --force-publish --message '[skip ci] publish %s'"
},
"devDependencies": {
"@jsenv/file-size-impact": "12.1.1",
"@testing-library/react": "^14.1.0",
"caniuse-lite": "^1.0.30001341",
"esbuild": "^0.13.6",
"jsdom": "^20.0.0",
"lerna": "^8.1.7",
"prettier": "^2.1.1",
"sass": "^1.34.0",
"tslint": "^5.12.1",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.0.1",
"typedoc": "0.25.2",
"typescript": "5.2.2",
"vitest": "^1.0.4"
},
"resolutions": {
"chalk": "^4.0.0",
"cookie": "0.7.0",
"node-fetch": "2.6.7",
"postcss": "8.4.40"
}
}