forked from alibaba/ice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
95 lines (95 loc) · 3.19 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
{
"name": "icejs-project",
"version": "0.0.0",
"private": true,
"workspaces": [
"packages/*"
],
"description": "A universal framework based on React.js",
"author": "[email protected]",
"license": "MIT",
"scripts": {
"setup": "rm -rf node_modules && yarn install && npm run build",
"setup:skip": "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true yarn install && npm run build",
"watch": "ts-node ./scripts/watch.ts",
"build": "ts-node ./scripts/build.ts",
"build:swc": "rm -rf packages/swc/native/** && napi build --platform --release --cargo-cwd packages/swc packages/swc/native",
"version": "ts-node ./scripts/tag-version.ts && napi version -p packages/swc/npm -c packages/swc/package.json",
"version:check": "ts-node ./scripts/version-check.ts",
"publish": "npm run copy:swc && ts-node ./scripts/publish-package.ts",
"publish:beta": "npm run copy:swc && PUBLISH_TYPE=beta ts-node ./scripts/publishPackageWithDistTag.ts",
"publish:next": "npm run copy:swc && PUBLISH_TYPE=next VERSION_PREFIX=rc ts-node ./scripts/publishPackageWithDistTag.ts",
"publish:stable": "PUBLISH_TAG=release-1 ts-node ./scripts/publish-package.ts",
"publish:stable-beta": "PUBLISH_TAG=release-1 ts-node ./scripts/publish-beta-package.ts",
"sync": "ts-node ./scripts/sync.ts",
"rollback": "ts-node ./scripts/rollback.ts",
"owner": "ts-node ./scripts/owner.ts",
"dependency:check": "ts-node ./scripts/dependency-check.ts",
"copy:swc": "ts-node ./scripts/copySwcBinaries.ts",
"clean": "rimraf packages/*/lib",
"clean:swc": "rimraf packages/swc/native/**",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx ./",
"lint:fix": "npm run lint -- --fix",
"test": "jest --forceExit --runInBand",
"test:watch": "jest --watch",
"coverage": "codecov"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "npm run lint"
}
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@ice/spec": "^1.0.0",
"@testing-library/react-hooks": "^3.2.1",
"@types/jest": "^25.2.1",
"@types/node": "^14.17.15",
"@types/puppeteer": "^5.4.2",
"cheerio": "^1.0.0-rc.3",
"codecov": "^3.6.5",
"create-test-server": "^3.0.1",
"dependency-check": "^4.1.0",
"eslint": "^7.0.0",
"esm": "^3.2.25",
"execa": "^4.0.0",
"fs-extra": "^8.1.0",
"get-port": "^5.1.1",
"glob": "^7.1.6",
"husky": "^3.1.0",
"ice-npm-utils": "^2.0.1",
"jest": "^26.0.0",
"lerna": "^3.16.4",
"npm-run-all": "^4.1.5",
"nsfw": "1.2.6",
"pify": "^4.0.1",
"puppeteer": "^10.4.0",
"react-test-renderer": "^16.13.1",
"rimraf": "^3.0.0",
"semver": "^7.3.2",
"simple-git": "^1.132.0",
"ts-jest": "^26.0.0",
"ts-node": "^9.0.0",
"typescript": "^4.0.0",
"@napi-rs/cli": "^1.1.0"
},
"dependencies": {
"core-js": "^3.6.4"
},
"resolutions": {
"@typescript-eslint/eslint-plugin": "^4.0.0",
"@typescript-eslint/parser": "^4.0.0",
"postcss": "^8.3.5",
"eslint-plugin-react": "7.24.0"
},
"napi": {
"name": "builder-swc",
"triples": {
"additional": [
"aarch64-apple-darwin"
],
"defaults": true
}
}
}