@rnacanvas/draw 17.0.0 → 17.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/jest.config.js CHANGED
@@ -1,13 +1,13 @@
1
- /**
2
- * @type { import('jest').Config }
3
- */
4
- const config = {
5
- "moduleNameMapper": {
6
- "\\.css$": "<rootDir>/__mocks__/styleMock.js",
7
- },
8
- "transformIgnorePatterns": [
9
- "node_modules/(?!@ngrx|(?!deck.gl)|ng-dynamic)",
10
- ],
11
- };
12
-
13
- module.exports = config;
1
+ /**
2
+ * @type { import('jest').Config }
3
+ */
4
+ const config = {
5
+ "moduleNameMapper": {
6
+ "\\.css$": "<rootDir>/__mocks__/styleMock.js",
7
+ },
8
+ "transformIgnorePatterns": [
9
+ "node_modules/(?!@ngrx|(?!deck.gl)|ng-dynamic)",
10
+ ],
11
+ };
12
+
13
+ module.exports = config;
package/package.json CHANGED
@@ -1,45 +1,45 @@
1
- {
2
- "name": "@rnacanvas/draw",
3
- "version": "17.0.0",
4
- "description": "Draw nucleic acid structures",
5
- "repository": {
6
- "type": "git",
7
- "url": "https://github.com/pzhaojohnson/rnacanvas.draw.git"
8
- },
9
- "main": "./dist/index.js",
10
- "scripts": {
11
- "test": "jest",
12
- "build": "webpack"
13
- },
14
- "author": "pzhaojohnson",
15
- "license": "MIT",
16
- "devDependencies": {
17
- "@babel/core": "^8.0.10",
18
- "@babel/preset-env": "^8.0.7",
19
- "@babel/preset-typescript": "^8.0.7",
20
- "babel-jest": "^30.0.4",
21
- "jest": "^30.0.4",
22
- "jest-environment-jsdom": "^30.0.4",
23
- "ts-loader": "^9.5.1",
24
- "typescript": "^6.0.3",
25
- "webpack": "^5.89.0",
26
- "webpack-cli": "^7.0.1"
27
- },
28
- "dependencies": {
29
- "@rnacanvas/base-pairs": "^4.0.0",
30
- "@rnacanvas/boxes": "^5.0.1",
31
- "@rnacanvas/ct": "^2.1.1",
32
- "@rnacanvas/draw.bases": "^9.0.2",
33
- "@rnacanvas/draw.bases.bonds": "^16.1.0",
34
- "@rnacanvas/draw.bases.numberings": "^4.0.2",
35
- "@rnacanvas/draw.bases.outlines": "^2.0.0",
36
- "@rnacanvas/draw.floating": "^5.0.0",
37
- "@rnacanvas/draw.strung": "^2.0.1",
38
- "@rnacanvas/draw.svg": "^4.0.0",
39
- "@rnacanvas/layout": "^1.0.0",
40
- "@rnacanvas/math": "^3.0.0",
41
- "@rnacanvas/position-pairs": "^5.0.0",
42
- "@rnacanvas/utilities": "^10.3.0",
43
- "uuid": "^14.0.3"
44
- }
45
- }
1
+ {
2
+ "name": "@rnacanvas/draw",
3
+ "version": "17.0.1",
4
+ "description": "Draw nucleic acid structures",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/pzhaojohnson/rnacanvas.draw.git"
8
+ },
9
+ "main": "./dist/index.js",
10
+ "scripts": {
11
+ "test": "jest",
12
+ "build": "webpack"
13
+ },
14
+ "author": "pzhaojohnson",
15
+ "license": "MIT",
16
+ "devDependencies": {
17
+ "@babel/core": "^8.0.10",
18
+ "@babel/preset-env": "^8.0.7",
19
+ "@babel/preset-typescript": "^8.0.7",
20
+ "babel-jest": "^30.0.4",
21
+ "jest": "^30.0.4",
22
+ "jest-environment-jsdom": "^30.0.4",
23
+ "ts-loader": "^9.5.1",
24
+ "typescript": "^6.0.3",
25
+ "webpack": "^5.89.0",
26
+ "webpack-cli": "^7.0.1"
27
+ },
28
+ "dependencies": {
29
+ "@rnacanvas/base-pairs": "^4.0.0",
30
+ "@rnacanvas/boxes": "^5.0.1",
31
+ "@rnacanvas/ct": "^2.1.1",
32
+ "@rnacanvas/draw.bases": "^9.0.2",
33
+ "@rnacanvas/draw.bases.bonds": "^16.1.0",
34
+ "@rnacanvas/draw.bases.numberings": "^4.0.2",
35
+ "@rnacanvas/draw.bases.outlines": "^2.0.0",
36
+ "@rnacanvas/draw.floating": "^5.0.0",
37
+ "@rnacanvas/draw.strung": "^2.0.1",
38
+ "@rnacanvas/draw.svg": "^4.0.0",
39
+ "@rnacanvas/layout": "^1.0.0",
40
+ "@rnacanvas/math": "^3.0.0",
41
+ "@rnacanvas/position-pairs": "^5.0.0",
42
+ "@rnacanvas/utilities": "^10.3.0",
43
+ "uuid": "^14.0.3"
44
+ }
45
+ }
package/tsconfig.json CHANGED
@@ -1,14 +1,14 @@
1
- {
2
- "compilerOptions": {
3
- "strict": true,
4
- "rootDir": "./src",
5
- "outDir": "./dist/",
6
- "sourceMap": true,
7
- "declaration": true,
8
- "declarationDir": "./dist/",
9
- "declarationMap": true,
10
- "module": "es6",
11
- "target": "es2019",
12
- "moduleResolution": "bundler"
13
- }
14
- }
1
+ {
2
+ "compilerOptions": {
3
+ "strict": true,
4
+ "rootDir": "./src",
5
+ "outDir": "./dist/",
6
+ "sourceMap": true,
7
+ "declaration": true,
8
+ "declarationDir": "./dist/",
9
+ "declarationMap": true,
10
+ "module": "es6",
11
+ "target": "es2019",
12
+ "moduleResolution": "bundler"
13
+ }
14
+ }
package/webpack.config.js CHANGED
@@ -1,28 +1,28 @@
1
- const path = require('path');
2
-
3
- module.exports = {
4
- entry: './src/index.ts',
5
- mode: 'production',
6
- module: {
7
- rules: [
8
- {
9
- test: /\.tsx?$/,
10
- use: 'ts-loader',
11
- exclude: /node_modules/,
12
- },
13
- ],
14
- },
15
- resolve: {
16
- extensions: ['.tsx', '.ts', '.js'],
17
- },
18
- output: {
19
- path: path.resolve(__dirname, 'dist'),
20
- filename: 'index.js',
21
- globalObject: 'this',
22
- library: {
23
- name: 'draw',
24
- type: 'umd',
25
- },
26
- clean: true,
27
- },
28
- };
1
+ const path = require('path');
2
+
3
+ module.exports = {
4
+ entry: './src/index.ts',
5
+ mode: 'production',
6
+ module: {
7
+ rules: [
8
+ {
9
+ test: /\.tsx?$/,
10
+ use: 'ts-loader',
11
+ exclude: /node_modules/,
12
+ },
13
+ ],
14
+ },
15
+ resolve: {
16
+ extensions: ['.tsx', '.ts', '.js'],
17
+ },
18
+ output: {
19
+ path: path.resolve(__dirname, 'dist'),
20
+ filename: 'index.js',
21
+ globalObject: 'this',
22
+ library: {
23
+ name: 'draw',
24
+ type: 'umd',
25
+ },
26
+ clean: true,
27
+ },
28
+ };