-
Notifications
You must be signed in to change notification settings - Fork 35
/
package.json
77 lines (77 loc) · 2.52 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
{
"name": "riteway",
"version": "8.0.0-RC4",
"description": "Unit tests that always supply a good bug report when they fail.",
"main": "source/index.js",
"module": "source/riteway.js",
"types": "./index.d.ts",
"exports": {
".": "./source/index.js",
"./vitest": {
"import": "./source/vitest.js",
"require": "./source/vitest.js",
"types": "./vitest.d.ts"
},
"./match": {
"import": "./source/match.js",
"require": "./source/match.js",
"types": "./match.d.ts"
},
"./render-component": {
"import": "./source/render-component.js",
"require": "./source/render-component.js",
"types": "./render-component.d.ts"
}
},
"bin": {
"riteway": "./bin/riteway"
},
"scripts": {
"lint": "eslint source && echo 'Lint complete.'",
"lint-fix": "eslint --fix source && eslint --fix ./*.js",
"typecheck": "npx -p typescript tsc --esModuleInterop --rootDir . source/test.js --allowJs --checkJs --noEmit --lib es6 --jsx react && npx -p typescript tsc index.d.ts --noEmit && echo 'TypeScript check complete.'",
"ts": "npm run -s typecheck",
"test": "node -r @babel/register source/test",
"esm": "cp source/*.js esm/ && cp source/*.jsx esm/ && cp esm/riteway.js esm/index.js && echo 'esm complete.'",
"watch": "watch 'clear && npm run -s test | tap-nirvana && npm run -s lint && npm run -s typecheck && npm run -s esm' source",
"precommit": "npm run -s test && npm run -s lint-fix && npm run -s typecheck",
"update": "updtr",
"release": "release-it"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ericelliott/riteway.git"
},
"author": "Eric Elliott",
"license": "MIT",
"bugs": {
"url": "https://github.com/ericelliott/riteway/issues"
},
"homepage": "https://github.com/ericelliott/riteway#readme",
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/plugin-transform-runtime": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@babel/register": "^7.23.7",
"@babel/runtime-corejs2": "^7.23.9",
"@types/cheerio": "^0.22.35",
"@types/node": "^20.11.6",
"@types/react": "^18.2.48",
"eslint": "^8.56.0",
"eslint-plugin-react": "^7.33.2",
"react": "18.2.0",
"release-it": "^17.0.3",
"tap-nirvana": "1.1.0",
"typescript": "^5.3.3",
"updtr": "4.0.0",
"watch": "^0.13.0"
},
"dependencies": {
"cheerio": "1.0.0-rc.12",
"esm": "3.2.25",
"react-dom": "18.2.0",
"tape": "^5.7.4",
"vitest": "^1.2.1"
}
}