Comparing version 2.2.1 to 2.2.2
{ | ||
"name": "style-mod", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "A minimal CSS module shim", | ||
"main": "dist/style-mod.js", | ||
"main": "dist/style-mod.cjs", | ||
"type": "module", | ||
"exports": { | ||
"import": "./src/style-mod.js", | ||
"require": "./dist/style-mod.cjs" | ||
}, | ||
"module": "src/style-mod.js", | ||
"types": "src/style-mod.d.ts", | ||
"directories": { | ||
@@ -12,3 +18,3 @@ "test": "test" | ||
"test": "npm run build && mocha test/test-*.js", | ||
"build": "buble --no modules src/style-mod.js | sed -e 's/export function StyleModule/var StyleModule = exports.StyleModule = function/' > dist/style-mod.js; cp src/style-mod.d.ts dist/", | ||
"build": "mkdir -p dist; buble --no modules src/style-mod.js | sed -e 's/export function StyleModule/var StyleModule = exports.StyleModule = function/' > dist/style-mod.cjs", | ||
"prepare": "npm run build && npm run build-readme", | ||
@@ -15,0 +21,0 @@ "build-readme": "builddocs --name style-mod --main src/README.md --format markdown src/*.js > README.md" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Yes
22652
9
378