-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
64 lines (64 loc) · 1.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
{
"name": "tsx-control-statements",
"private": false,
"version": "5.1.1",
"main": "transformer.js",
"ts-main": "transformer.ts",
"author": "Konstantin Simeonov <kon.simeonov@protonmail.com>",
"keywords": [
"control-statements",
"typescript",
"jsx",
"tsx",
"if",
"loop",
"react "
],
"repository": {
"type": "git",
"url": "https://github.com/KonstantinSimeonov/tsx-control-statements"
},
"license": "WTFPL",
"scripts": {
"build": "tsc -P tsconfig.json",
"build:watch": "npm run build -- --watch",
"test": "npm run test:compile && npm run test:run",
"test:ci": "./runtests.sh",
"test:compile": "npm run test:compile-tsc && npm run test:compile-babel",
"test:compile-tsc": "node compile.js",
"test:compile-babel": "babel test/src --presets=@babel/preset-react,@babel/preset-env --plugins=\"jsx-control-statements\" --out-dir=test/babel",
"test:run": "mocha --exit test/helpers/browser-env.js \"test/**/*.spec.js\"",
"test:coverage": "nyc report --reporter=text-lcov | coveralls",
"test:html-report": "nyc report --reporter=html",
"link:self": "npm link && npm link tsx-control-statements",
"format:all": "npx prettier --write './**/*.{ts,js,tsx,jsx}'"
},
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.3",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@testing-library/react": "^14.0.0",
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1",
"@types/node": "^16.18.16",
"@types/react": "^16.9.55",
"babel-plugin-jsx-control-statements": "^4.1.2",
"chai": "^4.3.7",
"coveralls": "^3.1.1",
"jsdom": "^21.1.1",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.3.3"
},
"peerDependencies": {
"typescript": ">=5.0"
},
"nyc": {
"extension": [
".ts"
]
}
}