Skip to content

Commit

Permalink
Use pure ESM as default
Browse files Browse the repository at this point in the history
  • Loading branch information
niksy committed Oct 15, 2023
1 parent 923ec08 commit efb393a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"license": "MIT",
"author": "Ivan Nikolić <niksy5@gmail.com> (http://ivannikolic.com)",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"import": "./esm/index.js",
Expand All @@ -30,12 +31,12 @@
"README.md"
],
"scripts": {
"generate-list": "node -r esm generate-list.js",
"generate-list": "node generate-list.js",
"release": "np --no-release-draft",
"version": "if [ $(git rev-parse --abbrev-ref HEAD) == 'master' ]; then sed -i '' '/\\[unreleased\\]:/d' CHANGELOG.md && version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md; else echo; fi",
"postpublish": "GITHUB_TOKEN=$GITHUB_RELEASE_TOKEN github-release-from-changelog",
"lint": "eslint '{index,lib/**/*,test/**/*,generate-list}.js'",
"test": "mocha --require esm 'test/**/*.js'",
"test": "mocha 'test/**/*.js'",
"test:watch": "npm test -- --watch",
"build": "rollup --config rollup.config.js",
"module-check": "node -e 'require(\"css-functions-list\");' && node --input-type=module -e 'import \"css-functions-list\";'",
Expand All @@ -54,14 +55,13 @@
"eslint-config-nitpick": "^11.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"esm": "^3.0.51",
"execa": "^5.1.1",
"github-release-from-changelog": "^2.1.1",
"husky": "^4.3.0",
"isomorphic-unfetch": "^3.1.0",
"jsdom": "^17.0.0",
"lint-staged": "^10.4.2",
"mocha": "^9.1.3",
"mocha": "^10.2.0",
"np": "^7.6.0",
"prettier": "^2.4.0",
"rollup": "^2.32.1",
Expand Down

0 comments on commit efb393a

Please sign in to comment.