1 | {
|
2 | "name": "lightningcss",
|
3 | "version": "1.20.0",
|
4 | "license": "MPL-2.0",
|
5 | "description": "A CSS parser, transformer, and minifier written in Rust",
|
6 | "main": "node/index.js",
|
7 | "types": "node/index.d.ts",
|
8 | "exports": {
|
9 | "types": "./node/index.d.ts",
|
10 | "import": "./node/index.mjs",
|
11 | "require": "./node/index.js"
|
12 | },
|
13 | "browserslist": "last 2 versions, not dead",
|
14 | "targets": {
|
15 | "main": false,
|
16 | "types": false
|
17 | },
|
18 | "publishConfig": {
|
19 | "access": "public"
|
20 | },
|
21 | "funding": {
|
22 | "type": "opencollective",
|
23 | "url": "https://opencollective.com/parcel"
|
24 | },
|
25 | "repository": {
|
26 | "type": "git",
|
27 | "url": "https://github.com/parcel-bundler/lightningcss.git"
|
28 | },
|
29 | "engines": {
|
30 | "node": ">= 12.0.0"
|
31 | },
|
32 | "napi": {
|
33 | "name": "lightningcss"
|
34 | },
|
35 | "files": [
|
36 | "node/*.js",
|
37 | "node/*.mjs",
|
38 | "node/*.d.ts",
|
39 | "node/*.flow"
|
40 | ],
|
41 | "dependencies": {
|
42 | "detect-libc": "^1.0.3"
|
43 | },
|
44 | "devDependencies": {
|
45 | "@babel/parser": "^7.21.4",
|
46 | "@babel/traverse": "^7.21.4",
|
47 | "@codemirror/lang-css": "^6.0.1",
|
48 | "@codemirror/lang-javascript": "^6.1.2",
|
49 | "@codemirror/lint": "^6.1.0",
|
50 | "@codemirror/theme-one-dark": "^6.1.0",
|
51 | "@mdn/browser-compat-data": "^5.2.49",
|
52 | "@napi-rs/cli": "^2.14.0",
|
53 | "autoprefixer": "^10.4.14",
|
54 | "codemirror": "^6.0.1",
|
55 | "cssnano": "^5.0.8",
|
56 | "esbuild": "^0.13.10",
|
57 | "flowgen": "^1.21.0",
|
58 | "jest-diff": "^27.4.2",
|
59 | "json-schema-to-typescript": "^11.0.2",
|
60 | "markdown-it-anchor": "^8.6.6",
|
61 | "markdown-it-prism": "^2.3.0",
|
62 | "markdown-it-table-of-contents": "^0.6.0",
|
63 | "napi-wasm": "^1.0.1",
|
64 | "node-fetch": "^3.1.0",
|
65 | "parcel": "^2.8.2",
|
66 | "patch-package": "^6.5.0",
|
67 | "path-browserify": "^1.0.1",
|
68 | "postcss": "^8.3.11",
|
69 | "posthtml-include": "^1.7.4",
|
70 | "posthtml-markdownit": "^1.3.1",
|
71 | "posthtml-prism": "^1.0.4",
|
72 | "process": "^0.11.10",
|
73 | "puppeteer": "^12.0.1",
|
74 | "recast": "^0.22.0",
|
75 | "sharp": "^0.31.1",
|
76 | "util": "^0.12.4",
|
77 | "uvu": "^0.5.6"
|
78 | },
|
79 | "resolutions": {
|
80 | "lightningcss": "link:."
|
81 | },
|
82 | "scripts": {
|
83 | "prepare": "patch-package",
|
84 | "build": "node scripts/build.js && node scripts/build-flow.js",
|
85 | "build-release": "node scripts/build.js --release && node scripts/build-flow.js",
|
86 | "prepublishOnly": "node scripts/build-flow.js",
|
87 | "wasm:build": "cargo build --target wasm32-unknown-unknown -p lightningcss_node && cp target/wasm32-unknown-unknown/debug/lightningcss_node.wasm wasm/. && node scripts/build-wasm.js",
|
88 | "wasm:build-release": "cargo build --target wasm32-unknown-unknown -p lightningcss_node --release && cp target/wasm32-unknown-unknown/release/lightningcss_node.wasm wasm/. && node scripts/build-wasm.js",
|
89 | "website:start": "parcel 'website/*.html' website/playground/index.html",
|
90 | "website:build": "yarn wasm:build-release && parcel build 'website/*.html' website/playground/index.html",
|
91 | "build-ast": "cargo run --example schema --features jsonschema && node scripts/build-ast.js",
|
92 | "test": "uvu node/test"
|
93 | },
|
94 | "optionalDependencies": {
|
95 | "lightningcss-darwin-x64": "1.20.0",
|
96 | "lightningcss-linux-x64-gnu": "1.20.0",
|
97 | "lightningcss-win32-x64-msvc": "1.20.0",
|
98 | "lightningcss-darwin-arm64": "1.20.0",
|
99 | "lightningcss-linux-arm64-gnu": "1.20.0",
|
100 | "lightningcss-linux-arm-gnueabihf": "1.20.0",
|
101 | "lightningcss-linux-arm64-musl": "1.20.0",
|
102 | "lightningcss-linux-x64-musl": "1.20.0"
|
103 | }
|
104 | }
|