Skip to content

Commit

Permalink
chore: lib -> dist + security updates
Browse files Browse the repository at this point in the history
  • Loading branch information
timurbazhirov committed Mar 21, 2024
1 parent 66bb3cd commit fa17bec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"description": "Examples of entities following the Mat3ra data standard.",
"author": "Mat3ra.com",
"license": "Apache-2.0",
"main": "lib/index.js",
"main": "dist/index.js",
"files": [
"/lib",
"/dist",
"/src/js",
"tsconfig.json"
],
"dependencies": {
"@babel/cli": "7.16.0",
"@babel/core": "7.16.0",
"@babel/core": "7.24.1",
"@babel/eslint-parser": "7.16.3",
"@babel/plugin-proposal-class-properties": "7.16.0",
"@babel/preset-env": "7.16.4",
Expand Down Expand Up @@ -48,7 +48,7 @@
"eslint-plugin-react": "7.30.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"lint-staged": "^12.1.2",
"mocha": "^9.1.3",
"mocha": "10.3.0",
"nyc": "^15.1.0",
"prettier": "^2.7.1"
},
Expand All @@ -58,7 +58,7 @@
"lint": "eslint --cache src/js tests/js && prettier --write src/js tests/js",
"lint:fix": "eslint --fix --cache src/js tests/js && prettier --write src/js tests/js",
"lint:staged": "lint-staged",
"postinstall": "npm run transpile && cp -r src/js/runtime_data lib/",
"postinstall": "npm run transpile && cp -r src/js/runtime_data dist/",
"prettier": "prettier --check src/js tests/js",
"test": "mocha",
"transpile": "tsc"
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"jsx": "react",
"incremental": true,
"noEmitOnError": false,
"outDir": "./lib",
"outDir": "./dist",

/* Strict Type-Checking Options */
"strict": true,
Expand Down

0 comments on commit fa17bec

Please sign in to comment.