-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
101 lines (101 loc) · 3.01 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
96
97
98
99
100
101
{
"name": "@riotjs/compiler",
"version": "9.3.0",
"description": "Compiler for Riot.js .riot files",
"main": "./dist/index.cjs",
"types": "./compiler.d.ts",
"type": "module",
"exports": {
".": {
"types": "./compiler.d.ts",
"require": "./dist/index.cjs",
"browser": "./dist/compiler.js",
"import": "./dist/index.js"
},
"./essential": {
"types": "./compiler.d.ts",
"require": "./dist/compiler.essential.cjs",
"import": "./dist/compiler.essential.js"
},
"./src/*": "./src/*"
},
"files": [
"dist",
"src",
"compiler.d.ts"
],
"scripts": {
"lint": "eslint --ext js src/ test/ build/ && npx prettier --check ./",
"cov": "c8 report --reporter=lcov",
"cov-html": "c8 report --reporter=html",
"build": "rollup -c build/rollup.node.config.js && rollup -c build/rollup.browser.config.js && rollup -c build/rollup.essential.config.js",
"postest": "npm run cov-html",
"test-types": "tsc -p test",
"test-runtime": "playwright test",
"test-commonjs": "c8 mocha 'test/**/*.spec.cjs'",
"test": "c8 mocha 'test/**/*.spec.js' && npm run test-types",
"debug": "mocha --inspect --inspect-brk 'test/**/*.spec.js'",
"prepublishOnly": "npm run build && npm run lint && npm run test && npm run test-commonjs && npm run test-runtime"
},
"repository": {
"type": "git",
"url": "git+https://github.com/riot/compiler.git"
},
"keywords": [
"riot",
"Riot.js",
"components",
"custom components",
"custom elements",
"compiler"
],
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@playwright/test": "^1.49.0",
"@riotjs/dom-bindings": "^9.2.4",
"@riotjs/prettier-config": "^1.1.0",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.1",
"acorn": "^8.14.0",
"c8": "^10.1.2",
"chai": "^5.1.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-riot": "^4.1.2",
"eslint-plugin-fp": "^2.3.0",
"mocha": "^10.8.2",
"prettier": "^3.3.3",
"pug": "^3.0.3",
"rollup": "^4.27.3",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.81.0",
"serve": "^14.2.4",
"shelljs": "^0.8.5",
"start-server-and-test": "^2.0.8",
"typescript": "^5.7.2"
},
"author": "Gianluca Guarini <[email protected]> (https://gianlucaguarini.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/riot/compiler/issues"
},
"homepage": "https://github.com/riot/compiler#readme",
"dependencies": {
"@babel/parser": "^7.26.2",
"@riotjs/parser": "^5.0.1",
"@riotjs/util": "2.4.0",
"css-simple-parser": "^3.0.0",
"cssesc": "^3.0.0",
"cumpa": "^2.0.1",
"curri": "^2.0.3",
"dom-nodes": "^1.1.3",
"globals": "^15.12.0",
"recast": "^0.23.9",
"source-map": "^0.7.4"
}
}