Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 3.36 KB
/
Copy pathpackage.json
File metadata and controls
72 lines (72 loc) · 3.36 KB
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
{
"name": "less.go",
"private": true,
"version": "0.1.0",
"description": "A complete Go port of Less.js - the CSS preprocessor",
"homepage": "https://github.com/toakleaf/less.go",
"scripts": {
"changeset": "changeset",
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile",
"release": "./scripts/release.sh",
"test": "pnpm test:go && pnpm test:js-unit && pnpm test:plugin-vite",
"test:js-unit": "vitest --config test/js/vitest.config.ts",
"test:plugin-vite": "pnpm --filter @lessgo/plugin-vite test",
"build:plugin-vite": "pnpm --filter @lessgo/plugin-vite build",
"test:go": "go run scripts/test.go integration",
"test:go:unit": "go run scripts/test.go unit",
"test:go:all": "bash scripts/test-all.sh",
"test:go:full": "go run scripts/test.go integration",
"test:go:summary": "go run scripts/test_enhanced.go summary",
"test:go:debug": "go run scripts/test_enhanced.go integration --debug",
"test:go:debug:trace": "go run scripts/test_enhanced.go integration --debug --trace",
"test:go:debug:diff": "LESS_GO_DEBUG=1 LESS_GO_DIFF=1 go run scripts/test_enhanced.go integration",
"test:go:filter": "go run scripts/test_enhanced.go integration",
"bench:go": "go test -bench='^BenchmarkLessCompilation$' -benchmem -benchtime=10s ./less",
"bench:go:cold": "go test -bench=BenchmarkLessCompilationColdStart -benchmem -benchtime=10s ./less",
"bench:go:parse": "go test -bench=BenchmarkLessParsing -benchmem -benchtime=10s ./less",
"bench:go:eval": "go test -bench=BenchmarkLessEvaluation -benchmem -benchtime=10s ./less",
"bench:go:suite": "go test -bench=BenchmarkLargeSuite -benchmem -benchtime=30x ./less",
"bench:go:suite:gc200": "GOGC=200 go test -bench=BenchmarkLargeSuite -benchmem -benchtime=30x ./less",
"bench:go:public": "go test -bench=BenchmarkPublicCompile -benchmem -benchtime=10s ./less",
"bench:js": "node benchmark/suite.js",
"bench:js:detailed": "node benchmark/suite.js --detailed",
"bench:js:json": "node benchmark/suite.js --json",
"bench:js:suite": "node benchmark/suite.js --suite",
"bench:bun": "bun benchmark/suite.js",
"bench:bun:detailed": "bun benchmark/suite.js --detailed",
"bench:bun:json": "bun benchmark/suite.js --json",
"bench:bun:suite": "bun benchmark/suite.js --suite",
"bench:compare": "node scripts/bench-compare.js",
"bench:compare:suite": "node scripts/bench-compare-suite.js",
"bench:compare:all": "node scripts/bench-compare-all.js",
"bench:profile": "bash scripts/profile-benchmark.sh",
"bench:find-regex": "bash scripts/find-regex-hotspots.sh",
"postinstall": "npx only-allow pnpm"
},
"author": "Alexis Sellier <self@cloudhead.net>",
"contributors": [
"The Core Less Team"
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/toakleaf/less.go/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/toakleaf/less.go.git"
},
"devDependencies": {
"@less/test-import-module": "workspace:*",
"@changesets/changelog-github": "^0.5.2",
"@changesets/cli": "^2.29.8",
"all-contributors-cli": "~6.26.1",
"bootstrap-less-port": "^0.3.0",
"less-plugin-clean-css": "^1.6.0",
"copy-anything": "^2.0.1",
"less": "^4.2.2",
"npm-run-all": "^4.1.5",
"parse-node-version": "^1.0.1",
"tslib": "^2.3.0",
"vitest": "^3.0.9"
}
}