-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
100 lines (100 loc) · 2.98 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
{
"name": "@riotjs/compiler",
"version": "9.2.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"
}
},
"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.25.2",
"@babel/preset-env": "^7.25.4",
"@playwright/test": "^1.46.1",
"@riotjs/dom-bindings": "^9.0.4",
"@riotjs/prettier-config": "^1.1.0",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.7",
"acorn": "^8.12.1",
"c8": "^10.1.2",
"chai": "^5.1.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-riot": "^4.1.2",
"eslint-plugin-fp": "^2.3.0",
"mocha": "^10.7.3",
"prettier": "^3.3.3",
"pug": "^3.0.3",
"rollup": "^4.21.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.77.8",
"serve": "^14.2.3",
"shelljs": "^0.8.5",
"start-server-and-test": "^2.0.5",
"typescript": "^5.5.4"
},
"author": "Gianluca Guarini <gianluca.guarini@gmail.com> (http://gianlucaguarini.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/riot/compiler/issues"
},
"homepage": "https://github.com/riot/compiler#readme",
"dependencies": {
"@babel/parser": "^7.25.4",
"@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.9.0",
"recast": "^0.23.9",
"source-map": "^0.7.4"
}
}