-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
83 lines (83 loc) · 2.26 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
{
"version": "0.1.3",
"name": "styleq",
"main": "styleq.js",
"module": "dist/styleq.js",
"sideEffects": false,
"license": "MIT",
"description": "A quick JavaScript runtime for Atomic CSS compilers.",
"repository": "https://github.com/necolas/styleq",
"author": "Nicolas Gallagher",
"files": [
"dist",
"*.js",
"*.ts"
],
"scripts": {
"benchmark:compare": "node benchmark/compare.js",
"benchmark:perf": "node benchmark/performance.js",
"benchmark:size": "node benchmark/size.js",
"build": "babel src --out-dir dist --config-file ./configs/.babelrc",
"flow": "flow --flowconfig-name ./configs/.flowconfig",
"jest": "jest ./test",
"lint": "npm run lint:report -- --fix",
"lint:report": "eslint src/**/*.js --config ./configs/.eslintrc",
"prepare": "npm run test && npm run build",
"prettier": "prettier --write \"**/*.js\" --ignore-path ./configs/.prettierignore",
"prettier:report": "prettier --check \"**/*.js\" --ignore-path ./configs/.prettierignore",
"test": "npm run flow && npm run prettier:report && npm run lint:report && npm run jest"
},
"devDependencies": {
"@babel/cli": "^7.25.9",
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.9",
"@babel/preset-env": "^7.25.4",
"@babel/preset-flow": "^7.24.7",
"@babel/types": "^7.26.0",
"babel-plugin-syntax-hermes-parser": "^0.25.0",
"benchmark": "^2.1.4",
"brotli-size": "^4.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.9.0",
"eslint-plugin-ft-flow": "^3.0.7",
"flow-bin": "^0.252.0",
"hermes-eslint": "^0.25.0",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"prettier-plugin-hermes-parser": "0.25.0",
"terser": "^5.3.0",
"yargs": "17.7.2"
},
"jest": {
"snapshotFormat": {
"printBasicPrototype": false
},
"transform": {
"\\.js$": [
"babel-jest",
{
"configFile": "./configs/.babelrc"
}
]
}
},
"prettier": {
"plugins": [
"prettier-plugin-hermes-parser"
],
"singleQuote": true,
"trailingComma": "none",
"overrides": [
{
"files": [
"*.js",
"*.jsx",
"*.flow"
],
"options": {
"parser": "hermes"
}
}
]
}
}