-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
65 lines (65 loc) · 3.07 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
{
"version": "0.0.1",
"description": "A testing tool for behavior-driven development",
"main": "index.js",
"workspaces": [
"packages/*"
],
"private": true,
"scripts": {
"test": "cross-env NODE_ENV=development jest --config ./scripts/jest/config.js",
"build-inner:babel-preset-crius": "babel packages/babel-preset-crius/src --out-dir packages/babel-preset-crius/lib",
"build:babel-preset-crius": "babel packages/babel-preset-crius/src --out-dir packages/babel-preset-crius/dist",
"build:crius-graph": "tsc packages/crius-graph/src/index.ts --outDir packages/crius-graph/dist --jsx preserve -t es5 -d",
"build:crius-is": "tsc packages/crius-is/src/index.ts --outDir packages/crius-is/dist --jsx preserve -t es5 -d",
"build:crius-logger": "tsc packages/crius-logger/src/index.ts --outDir packages/crius-logger/dist --jsx preserve -t es5 -d",
"build:crius-runner": "tsc packages/crius-runner/src/index.ts --outDir packages/crius-runner/dist --jsx preserve -t es5 -d",
"build:type:crius-test": "tsc packages/crius-test/src/index.ts --outDir packages/crius-test/dist --jsx preserve -t es5 -d",
"build:crius-test": "yarn build:type:crius-test && babel packages/crius-test/src --out-dir packages/crius-test/dist --extensions '.ts,.tsx'",
"build:crius": "tsc packages/crius/src/index.ts --outDir packages/crius/dist --jsx preserve -t es5 -d",
"build": "yarn build:babel-preset-crius && yarn build:crius-graph && yarn build:crius-is && yarn build:crius-logger && yarn build:crius-runner && yarn build:crius-test && yarn build:crius",
"test:preset": "jest packages/babel-preset-crius/ --config=scripts/jest/config.js",
"test:crius": "jest packages/crius/ --config=scripts/jest/config.js",
"test:crius-runner": "jest packages/crius-runner/ --config=scripts/jest/config.js",
"clean": "lerna exec -- rm -rf ./dist",
"type-check": "tsc --noEmit",
"commit": "yarn git-cz",
"start:example": "lerna run start --scope=crius-example",
"test:example": "yarn test packages/crius-example/test/index.test.tsx",
"update:version": "lerna version --amend --no-git-tag-version",
"publish": "lerna exec --no-private --no-bail -- npm publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/unadlib/crius.git"
},
"author": "unadlib",
"license": "MIT",
"bugs": {
"url": "https://github.com/unadlib/crius/issues"
},
"homepage": "https://github.com/unadlib/crius#readme",
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/core": "^7.17.10",
"@babel/plugin-proposal-decorators": "^7.17.9",
"@babel/plugin-syntax-jsx": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"@babel/preset-typescript": "^7.16.7",
"@babel/runtime": "^7.17.9",
"@types/jest": "^27.5.0",
"@types/node": "^17.0.32",
"babel-jest": "^28.1.0",
"commitizen": "^4.2.4",
"cross-env": "^7.0.3",
"jest": "^28.1.0",
"lerna": "^4.0.0",
"typescript": "^4.6.4"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}