forked from QwikDev/qwik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 3.68 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
{
"name": "qwik",
"version": "0.0.0",
"description": "An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",
"main": "index.js",
"lint-staged": {
"*.*": [
"prettier --write --ignore-unknown"
],
"*.ts": [
"npx eslint"
],
"(WORKSPACE|*.bazel|*.bzl)": [
"npm run bazel:lint-fix"
]
},
"dependencies": {
"source-map-support": "^0.5.19"
},
"@comment type": "Setting type to 'commonjs' is important as many of the bazel tooling assumes 'commonjs'. For code which wants ESM a second 'package.json' file needs to be created for just those files.",
"type": "commonjs",
"devDependencies": {
"@bazel/bazelisk": "^1.7.5",
"@bazel/buildifier": "^4.0.1",
"@bazel/cypress": "^3.2.0",
"@bazel/esbuild": "^3.5.0",
"@bazel/ibazel": "^0.15.10",
"@bazel/rollup": "^3.2.2",
"@bazel/terser": "^3.2.2",
"@bazel/typescript": "3.2.0",
"@microsoft/api-extractor": "^7.13.2",
"@types/chai": "^4.2.15",
"@types/express": "^4.17.9",
"@types/mocha": "^8.2.1",
"@types/node": "^14.14.10",
"@types/source-map-support": "^0.5.3",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"chai": "^4.3.0",
"commander": "^6.2.0",
"cypress": "^6.4.0",
"domino": "^2.1.6",
"eslint": "^7.23.0",
"eslint-plugin-no-only-tests": "^2.4.0",
"express": "^4.17.1",
"http-server": "^0.12.3",
"husky": "^5.2.0",
"lint-staged": "^10.5.4",
"mocha": "^8.3.0",
"prettier": "2.3.0",
"rollup": "^2.40.0",
"serve-static": "^1.14.1",
"source-map-support": "^0.5.19",
"terser": "^5.6.0",
"todomvc-app-css": "^2.3.0",
"todomvc-common": "^1.0.5",
"typescript": "^4.2.0"
},
"scripts": {
"patch-m1": "npm run patch-m1-bazel && npm run patch-m1-ibazel && npm run patch-m1-buildifier",
"patch-m1-bazel": "echo Patching Bazel for Apple M1 architecture compatibility && ln -fs ./bazelisk-darwin_amd64 node_modules/@bazel/bazelisk/bazelisk-darwin_arm64",
"patch-m1-ibazel": "echo Patching iBazel for Apple M1 architecture compatibility && sed -i .bak \"s/'x64' : 'amd64',\\$/'x64' : 'amd64', 'arm64' : 'amd64',/\" ./node_modules/@bazel/ibazel/index.js",
"patch-m1-buildifier": "echo Patching Buildifier for Apple M1 architecture compatibility && sed -i .bak \"s/'x64' : 'amd64',\\$/'x64' : 'amd64', 'arm64' : 'amd64',/\" ./node_modules/@bazel/buildifier/buildifier.js",
"integration:server": "bazel run //integration:devserver",
"test:unit": "bazel test --test_tag_filters=unit //...",
"test:e2e": "bazel test --test_tag_filters=e2e //...",
"test": "bazel test //...",
"lint": "eslint \"**/*.ts*\"",
"prettier-check": "prettier --check .",
"prettier-fix": "prettier --write .",
"bazel:format": "find . -type f \\( -name \"*.bzl\" -or -name WORKSPACE -or -name BUILD -or -name BUILD.bazel \\) ! -path \"*/node_modules/*\" | xargs buildifier --warnings=attr-cfg,attr-license,attr-non-empty,attr-output-default,attr-single-file,constant-glob,ctx-actions,ctx-args,depset-iteration,depset-union,dict-concatenation,duplicated-name,filetype,git-repository,http-archive,integer-division,load,load-on-top,native-build,native-package,out-of-order-load,output-group,package-name,package-on-top,positional-args,redefined-variable,repository-name,same-origin-load,string-iteration,unsorted-dict-items,unused-variable",
"bazel:lint": "npm run bazel:format -- --mode=check --lint=warn",
"bazel:lint-fix": "npm run bazel:format -- --mode=fix --lint=fix",
"cypress": "cypress open",
"prepare": "husky install"
},
"author": "Miško Hevery <[email protected]>",
"license": "MIT"
}