Skip to content

Commit

Permalink
rearranging package.json files
Browse files Browse the repository at this point in the history
- global is for testing & building
- nette-forms moved to src/assets
  • Loading branch information
dg committed Jun 4, 2024
1 parent 2ceb5bd commit a2a7941
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 36 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm install -g karma-cli
- run: npm install
- working-directory: tests/netteForms
run: npm install
- working-directory: tests/netteForms
run: karma start
run: npx karma start karma.conf.cjs
31 changes: 9 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,13 @@
{
"name": "nette-forms",
"version": "3.4.1",
"description": "Client side script for Nette Forms Component",
"keywords": [
"nette",
"validation",
"forms"
],
"homepage": "https://nette.org",
"author": "David Grudl (https://davidgrudl.com)",
"license": "BSD-3-Clause",
"main": "src/assets/netteForms.js",
"files": [
"src/assets"
],
"repository": {
"type": "git",
"url": "git+https://github.com/nette/forms.git"
},
"type": "module",
"devDependencies": {
"@eslint/js": "^9.1.1",
"eslint": "^9.1.1",
"globals": "^15.1.0"
"@eslint/js": "^9.4.0",
"eslint": "^9.4.0",
"globals": "^15.3.0",
"jasmine": "^5.1.0",
"jasmine-core": "^5.1.1",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-jasmine": "^5.1.0"
}
}
18 changes: 18 additions & 0 deletions src/assets/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "nette-forms",
"version": "3.4.1",
"description": "Client side script for Nette Forms Component",
"keywords": [
"nette",
"validation",
"forms"
],
"homepage": "https://nette.org",
"author": "David Grudl (https://davidgrudl.com)",
"license": "BSD-3-Clause",
"main": "netteForms.js",
"repository": {
"type": "git",
"url": "git+https://github.com/nette/forms.git"
}
}
File renamed without changes.
10 changes: 0 additions & 10 deletions tests/netteForms/package.json

This file was deleted.

0 comments on commit a2a7941

Please sign in to comment.